import type { Client, InArgs, Row } from '@libsql/client'; /** * Execute a query and return all rows. */ export declare function query(client: Client, sql: string, args?: InArgs): Promise; /** * Execute a query and return the first row, or null. */ export declare function queryOne(client: Client, sql: string, args?: InArgs): Promise; /** * Execute a statement and return the number of affected rows. */ export declare function execute(client: Client, sql: string, args?: InArgs): Promise<{ rowsAffected: number; }>; /** * Safely parse a JSON string, returning null on failure. */ export declare function safeParseJSON(value: unknown): unknown; //# sourceMappingURL=helpers.d.ts.map