import { wrapTextInBlocks } from './message-utils.js'; import type { ChannelBotBot, ChannelBotChannel, ChannelBotGroup, ChannelBotManager, ChannelBotMessage, ChannelBotUser, ChannelBotUserChat, MessageBlock } from './types.js'; interface ChannelBotFileUrlResponse { url: string; } export declare class ChannelBotClient { private accessKey; private accessSecret; private rateLimitRemaining; private rateLimitResetAt; login(credentials?: { accessKey: string; accessSecret: string; }): Promise; private ensureAuth; static wrapTextInBlocks: typeof wrapTextInBlocks; getChannel(): Promise; listUserChats(params?: { state?: string; sortOrder?: string; since?: string; limit?: number; }): Promise; getUserChat(id: string): Promise; getUserChatMessages(chatId: string, params?: { sortOrder?: string; since?: string; limit?: number; }): Promise; sendUserChatMessage(chatId: string, blocks: MessageBlock[], botName?: string): Promise; closeUserChat(chatId: string, botName: string): Promise; deleteUserChat(chatId: string): Promise; getUserChatFileUrl(chatId: string, key: string): Promise; listGroups(params?: { since?: string; limit?: number; }): Promise; getGroup(groupId: string): Promise; getGroupByName(name: string): Promise; getGroupMessages(groupId: string, params?: { sortOrder?: string; since?: string; limit?: number; }): Promise; sendGroupMessage(groupId: string, blocks: MessageBlock[], botName?: string): Promise; getGroupFileUrl(groupId: string, key: string): Promise; resolveGroup(groupIdOrName: string): Promise; listManagers(params?: { since?: string; limit?: number; }): Promise; getManager(id: string): Promise; listBots(params?: { since?: string; limit?: number; }): Promise; createBot(name: string, options?: { color?: string; avatarUrl?: string; }): Promise; deleteBot(botId: string): Promise; listUsers(params?: { since?: string; limit?: number; }): Promise; getUser(id: string): Promise; private getHeaders; private waitForRateLimit; private updateRateLimit; private request; private buildPath; private sleep; } export {}; //# sourceMappingURL=client.d.ts.map