import { type DBSchemaTable } from "prostgles-types";
import type { getSubscriptionHandler } from "./getSubscriptionHandler";
import type { getSyncHandler } from "./getSyncHandler";
import { type DBHandlerClient, type InitOptions } from "./prostgles";
import { type SyncedTable } from "./SyncedTable/SyncedTable";
type Args = {
    tableSchema: DBSchemaTable[] | undefined;
    onDebug: InitOptions["onDebug"];
    socket: InitOptions["socket"];
    syncedTable: typeof SyncedTable | undefined;
    syncHandler: ReturnType<typeof getSyncHandler>;
    subscriptionHandler: ReturnType<typeof getSubscriptionHandler>;
};
export declare const getDB: <DBSchema = void>({ tableSchema, onDebug, syncedTable, syncHandler, subscriptionHandler, socket, }: Args) => {
    db: Partial<DBHandlerClient<DBSchema>>;
};
export {};
//# sourceMappingURL=getDbHandler.d.ts.map