@react-native-replicache/replicache-generic-sqlite
Version:
> Plug-in React Native compatibility bindings for [Replicache](https://replicache.dev/).
13 lines • 722 B
TypeScript
import type { KVStore } from "replicache";
import { ReplicacheGenericSQLiteTransaction } from "./generic-sqlite-adapter";
export declare class ReplicacheGenericSQLiteReadImpl implements Awaited<ReturnType<KVStore["read"]>> {
protected _tx: ReplicacheGenericSQLiteTransaction | null;
constructor(tx: ReplicacheGenericSQLiteTransaction);
has(key: string): Promise<boolean>;
get(key: string): Promise<import("@react-native-replicache/deep-freeze/dist/typescript/frozen").FrozenJSONValue | undefined>;
release(): Promise<void>;
get closed(): boolean;
private _getSql;
protected _assertTx(): ReplicacheGenericSQLiteTransaction;
}
//# sourceMappingURL=replicache-generic-sqlite-read-impl.d.ts.map