import { LiveEvent } from "../../../interfaces"; export declare type UseSubscriptionProps = { channel: string; onLiveEvent: (event: LiveEvent) => void; params?: { [key: string]: any; }; types?: LiveEvent["type"][]; enabled?: boolean; }; export declare const useSubscription: ({ params, channel, types, enabled, onLiveEvent, }: UseSubscriptionProps) => void;