import { BaseKey, CrudFilters, CrudSorting, LiveEvent, LiveModeProps, MetaDataQuery, Pagination } from "../../../interfaces"; export declare type UseResourceSubscriptionProps = { channel: string; params?: { ids?: BaseKey[]; id?: BaseKey; metaData?: MetaDataQuery; pagination?: Pagination; hasPagination?: boolean; sort?: CrudSorting; filters?: CrudFilters; subscriptionType: "useList" | "useOne" | "useMany"; [key: string]: any; }; types: LiveEvent["type"][]; resource: string; enabled?: boolean; } & LiveModeProps; export declare type PublishType = { (event: LiveEvent): void; }; export declare const useResourceSubscription: ({ resource, params, channel, types, enabled, liveMode: liveModeFromProp, onLiveEvent, }: UseResourceSubscriptionProps) => void; //# sourceMappingURL=index.d.ts.map