///
import type { Channel, ChannelFilters, ChannelOptions, ChannelSort, StreamChat } from 'open-chat-js';
import type { DefaultStreamChatGenerics } 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: StreamChat, 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