import { AoiBase } from "./AoiBase"; import type { RequestInit } from "node-fetch"; import { AoiExtension } from "./AoiExtension"; import type { ILoginOptions } from "telegramsjs"; import { Collection } from "@telegram.ts/collection"; import { AwaitedManager } from "../helpers/AwaitedManager"; import type { CommandData } from "./AoiTyping"; import { AoiWarning, type AoiWarningOptions } from "./AoiWarning"; import type { BotCommandScope } from "@telegram.ts/types"; declare class AoiClient extends AoiBase { #private; readonly parameters: { requestOptions?: RequestInit; disableFunctions?: string[]; extensions?: AoiExtension[]; functionError?: boolean; sendMessageError?: boolean; logging?: boolean; myCommands?: { register?: boolean; language_code?: string; scope?: BotCommandScope; }; autoUpdate?: AoiWarningOptions; }; warningManager: AoiWarning; awaitedManager: AwaitedManager; functionError?: boolean; sendMessageError?: boolean; readonly commands: Collection | CommandData<{ command: string; description?: string; aliases?: string[]; }>)[]>; readonly globalVars: Collection; constructor(token: string, parameters?: { requestOptions?: RequestInit; disableFunctions?: string[]; extensions?: AoiExtension[]; functionError?: boolean; sendMessageError?: boolean; logging?: boolean; myCommands?: { register?: boolean; language_code?: string; scope?: BotCommandScope; }; autoUpdate?: AoiWarningOptions; }); addCommand(options: CommandData<{ command: string; description?: string; aliases?: string[]; }>): AoiClient; addAction(options: CommandData<{ data: string; }>): AoiClient; awaitedCommand(options: CommandData<{ name: string; }>): AoiClient; connect(options?: ILoginOptions): Promise; } export { AoiClient };