/**
 * SQLite `select` first row via {@link get}, with “no row” as `null`.
 *
 * Prefer `await db.select()....get()` and `row ?? null` at the call site when types
 * infer cleanly (see cache / KV repositories). Use this when you want a single
 * helper and an explicit `T` (e.g. `typeof table.$inferSelect`).
 */
export declare function getFirstRow<TResult>(query: {
    get: () => Promise<unknown>;
}): Promise<TResult | null>;
/**
 * First row from a Drizzle / libsql `run()` result (`{ rows: [...] }`).
 * Prefer {@link getFirstRow} / `.get()` on `select` when the builder supports it; use
 * this for raw `sql\`\`` / `run()`-only call sites, or when you already have a result.
 */
export declare function getFirstRunRow<T>(result: {
    rows: T[];
}): T | undefined;
//# sourceMappingURL=get-first-row.d.ts.map