///
import type { Channel, ChannelFilters, ChannelOptions, ChannelSort, BeloChat } from 'belo-js-sdk';
import type { DefaultBeloChatGenerics } from '../../../types/types';
import type { ChannelsQueryState } from '../../Chat/hooks/useChannelsQueryState';
type AllowedQueryType = Extract;
export type CustomQueryChannelParams = {
currentChannels: Array>;
queryType: AllowedQueryType;
setChannels: React.Dispatch>>>;
setHasNextPage: React.Dispatch>;
};
export type CustomQueryChannelsFn = (params: CustomQueryChannelParams) => Promise;
export declare const usePaginatedChannels: (client: BeloChat, filters: ChannelFilters, sort: ChannelSort, options: ChannelOptions, activeChannelHandler: (channels: Channel[], setChannels: import("react").Dispatch[]>>) => void, recoveryThrottleIntervalMs?: number, customQueryChannels?: CustomQueryChannelsFn | undefined) => {
channels: Channel[];
hasNextPage: boolean;
loadNextPage: () => void;
setChannels: import("react").Dispatch[]>>;
};
export {};
//# sourceMappingURL=usePaginatedChannels.d.ts.map