File size: 418 Bytes
6491ad4
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import type { AnySQLiteSelect } from "../sqlite-core/index.cjs";
import { SQLiteRelationalQuery } from "../sqlite-core/query-builders/query.cjs";
export declare const useLiveQuery: <T extends Pick<AnySQLiteSelect, "_" | "then"> | SQLiteRelationalQuery<"sync", unknown>>(query: T, deps?: unknown[]) => {
    readonly data: Awaited<T>;
    readonly error: Error | undefined;
    readonly updatedAt: Date | undefined;
};