import type { HookOptions } from "../prostgles";
import { type SubscriptionHandler } from "prostgles-types";
import type { DataFetchHookResult } from "./useSync";
export declare const useSubscribe: (subFunc: (filter: any, options: any, onData: any, onError: any) => Promise<SubscriptionHandler>, expectsOne: boolean, filter: any, options: any, hookOptions?: HookOptions) => DataFetchHookResult;
//# sourceMappingURL=useSubscribe.d.ts.map