import { DataDriver } from "@rebasepro/types"; import { RebaseWebSocketClient } from "@rebasepro/client"; export interface PostgresDataDriverConfig { wsClient?: RebaseWebSocketClient; } export interface PostgresDataDriver extends DataDriver { client?: RebaseWebSocketClient; /** * Human-readable name for this driver. `DataDriver` only carries the * machine `key`; the hook has always set this too, but the returned object * used to be cast to `PostgresDataDriver`, so the extra property was * invisible to every consumer — and to the test asserting on it. */ name?: string; } export declare function usePostgresClientDriver(config: PostgresDataDriverConfig): PostgresDataDriver;