import type { BaseKey, CrudFilter, CrudSort, MetaQuery } from "../../../contexts/data/types";
import type { LiveEvent, LiveModeProps } from "../../../contexts/live/types";
export type UseResourceSubscriptionProps = {
    channel: string;
    params?: {
        ids?: BaseKey[];
        id?: BaseKey;
        sorters?: CrudSort[];
        filters?: CrudFilter[];
        subscriptionType: "useList" | "useOne" | "useMany";
        [key: string]: any;
    };
    types: LiveEvent["type"][];
    resource?: string;
    enabled?: boolean;
    meta?: MetaQuery & {
        dataProviderName?: string;
    };
} & LiveModeProps;
export type PublishType = (event: LiveEvent) => void;
export declare const useResourceSubscription: ({ resource: resourceFromProp, params, channel, types, enabled, liveMode: liveModeFromProp, onLiveEvent, meta, }: UseResourceSubscriptionProps) => void;
//# sourceMappingURL=index.d.ts.map