import type { SyncClient } from '../types.js'; export interface LibsqlSyncStatementLike { reader: boolean; all(...params: unknown[]): unknown[]; run(...params: unknown[]): { changes?: number; lastInsertRowid?: string | number | bigint | null; }; /** Optional. libsql sync statements expose `finalize` to release the underlying handle. */ finalize?(): void; } export interface LibsqlSyncDatabaseLike { prepare(query: string): LibsqlSyncStatementLike; } export declare function createLibsqlSyncClient(database: LibsqlSyncDatabaseLike): SyncClient; export declare const createLibsqlSyncDatabase: typeof createLibsqlSyncClient;