import { z } from "zod"; import type { TelegramClient } from "../telegram.js"; import type { Storage } from "../storage.js"; export declare const getChatInfoSchema: z.ZodObject<{ chat_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { chat_id?: number | undefined; }, { chat_id?: number | undefined; }>; export type GetChatInfoArgs = z.infer; export declare function getChatInfo(args: GetChatInfoArgs, defaultChatId: number, telegram: TelegramClient, storage: Storage, botInfo: { id: number; username: string; displayName: string; }): Promise<{ chat: { id: number; title: string | null; type: "private" | "group" | "supergroup" | "channel"; }; bot: { id: number; username: string; displayName: string; }; message_stats: import("../types.js").ChatStats; }>;