import { Dispatch, SetStateAction } from 'react'; import type { APIErrorResponse, ErrorFromResponse } from 'stream-chat'; declare type ChannelQueryType = 'reload' | 'load-more'; export interface ChannelsQueryState { error: ErrorFromResponse | null; queryInProgress: ChannelQueryType | null; setError: Dispatch | null>>; setQueryInProgress: Dispatch>; } export declare const useChannelsQueryState: () => ChannelsQueryState; export {}; //# sourceMappingURL=useChannelsQueryState.d.ts.map