import type { JSONValue } from "replicache"; import type { Executor } from "./pg.js"; export declare function getEntry(executor: Executor, spaceid: string, key: string): Promise; export declare function putEntry(executor: Executor, spaceID: string, key: string, value: JSONValue, version: number): Promise; export declare function delEntry(executor: Executor, spaceID: string, key: string, version: number): Promise; export declare function getEntries(executor: Executor, spaceID: string, fromKey: string): AsyncIterable; export declare function getChangedEntries(executor: Executor, spaceID: string, prevVersion: number): Promise<[key: string, value: JSONValue, deleted: boolean][]>; export declare function createSpace(executor: Executor, spaceID: string): Promise; export declare function getCookie(executor: Executor, spaceID: string): Promise; export declare function setCookie(executor: Executor, spaceID: string, version: number): Promise; export declare function getLastMutationID(executor: Executor, clientID: string): Promise; export declare function setLastMutationID(executor: Executor, clientID: string, lastMutationID: number): Promise;