import { ModifyCtx } from '../../index.js';
import { PropDef, SchemaTypeDef } from '@based/schema/def';
import { ModifyOp, ModifyErr } from './types.js';
export declare function getBuffer(value: any): Uint8Array | undefined;
export declare function writeBinaryRaw(value: Uint8Array, ctx: ModifyCtx): void;
export declare function writeBinary(value: any, ctx: ModifyCtx, schema: SchemaTypeDef, t: PropDef, parentId: number, modifyOp: ModifyOp): ModifyErr;
