import type { ChannelInfo, ChannelMessageParams, MessagesResponse } from "bmap-api-types";
interface UseChannelsResult {
    channels: ChannelInfo[];
    isLoading: boolean;
    error: Error | null;
    refetch: () => void;
}
export declare function useChannels(): UseChannelsResult;
interface UseChannelMessagesOptions extends Partial<ChannelMessageParams> {
    enabled?: boolean;
}
interface UseChannelMessagesResult {
    messages: MessagesResponse | null;
    isLoading: boolean;
    error: Error | null;
    refetch: () => void;
}
export declare function useChannelMessages({ channelId, page, limit, enabled, }: UseChannelMessagesOptions): UseChannelMessagesResult;
export {};
//# sourceMappingURL=useChannels.d.ts.map