import type { Transaction } from '@op-engineering/op-sqlite'; declare function stringifyDoc(doc: Record): string; declare function unstringifyDoc(doc: string, id: string, rev: string): Record; declare function qMarks(num: number): string; declare function select(selector: string, table: string | string[], joiner?: string | null, where?: string | string[], orderBy?: string): string; declare function compactRevs(revs: string[], docId: string, tx: Transaction): Promise; export declare function handleSQLiteError(event: Error, callback?: (error: any) => void): any; export { stringifyDoc, unstringifyDoc, qMarks, select, compactRevs }; //# sourceMappingURL=utils.d.ts.map