import { Maybe } from "./Maybe";
export declare class BinaryField {
    readonly bytes: number;
    readonly rawValue: string;
    constructor(bytes: number, rawValue: string);
    toJSON(): {
        _ctor: string;
        bytes: number;
        rawValue: string;
    };
    static fromJSON(json: ReturnType<BinaryField["toJSON"]>): BinaryField;
    static fromRawValue(rawValue: string): Maybe<BinaryField>;
}
