import { LangName } from '@based/schema';
import { ModifyError } from './ModifyRes.js';
export declare const CREATE = 3;
export declare const UPDATE = 6;
export declare const UPDATE_PARTIAL = 5;
export declare const DELETE = 11;
export declare const DELETE_SORT_INDEX = 4;
export declare const DELETE_NODE = 10;
export declare const RANGE_ERR = 1;
export declare const INCREMENT = 12;
export declare const DECREMENT = 13;
export declare const EXPIRE = 14;
export declare const ADD_EMPTY_SORT_TEXT = 15;
export declare const ADD_EMPTY_SORT = 7;
export declare const DELETE_TEXT_FIELD = 16;
export declare const SWITCH_TYPE = 2;
export declare const SWITCH_FIELD = 0;
export declare const SWITCH_ID_CREATE = 9;
export declare const SWITCH_ID_UPDATE = 1;
export declare const enum SIZE {
    DEFAULT_CURSOR = 11
}
export type ModifyErr = typeof RANGE_ERR | ModifyError | void;
export type ModifyOp = typeof CREATE | typeof UPDATE | typeof INCREMENT | typeof EXPIRE;
export type ModifyOpts = {
    unsafe?: boolean;
    locale?: LangName;
    overwrite?: boolean;
};
export declare const NOEDGE_NOINDEX_REALID = 0;
export declare const EDGE_NOINDEX_REALID = 1;
export declare const EDGE_INDEX_REALID = 2;
export declare const NOEDGE_INDEX_REALID = 3;
export declare const NOEDGE_NOINDEX_TMPID = 4;
export declare const EDGE_NOINDEX_TMPID = 5;
export declare const EDGE_INDEX_TMPID = 6;
export declare const NOEDGE_INDEX_TMPID = 7;
export declare const REF_OP_UPDATE = 1;
export declare const REF_OP_OVERWRITE = 0;
export type REF_OP = typeof REF_OP_OVERWRITE | typeof REF_OP_UPDATE;
