import { ModifyCtx } from '../../index.js';
import { ModifyOp, ModifyErr } from './types.js';
import { SchemaTypeDef, PropDef } from '@based/schema/def';
import { writeString } from './string.js';
import { ModifyState } from './ModifyRes.js';
export declare function writeText(value: {
    [k: string]: Parameters<typeof writeString>[1];
} | Parameters<typeof writeString>[1], ctx: ModifyCtx, def: SchemaTypeDef, t: PropDef, res: ModifyState, parentId: number, modifyOp: ModifyOp): ModifyErr;
