import { DatabaseRowMutationJs, DatabaseRowStatementJs } from '#entry-point'; import { Database } from '@tursodatabase/database'; interface ConnectOpts { path: string; clientName?: string; url: string; authToken?: string; encryptionKey?: string; tablesIgnore?: string[]; transform?: (arg: DatabaseRowMutationJs) => DatabaseRowStatementJs | null; enableTracing?: string; } interface Sync { sync(): Promise; push(): Promise; pull(): Promise; checkpoint(): Promise; stats(): Promise<{ operations: number; wal: number; }>; } export declare function connect(opts: ConnectOpts): Database & Sync; export { Database, Sync };