export type TelegramApprovalStatus = 'pending' | 'approved' | 'denied' | 'expired'; export interface TelegramPendingApproval { id: string; accountId: string; sessionKey: string; chatId: string; toolName: string; summary: string; createdAtMs: number; expiresAtMs: number; status: TelegramApprovalStatus; resolve?: (approved: boolean) => void; } export declare function createTelegramPendingApproval(params: { accountId: string; sessionKey: string; chatId: string; toolName: string; summary: string; ttlMs?: number; }): TelegramPendingApproval; export declare function waitForTelegramApproval(id: string, timeoutMs?: number): Promise; export declare function resolveTelegramApproval(id: string, approved: boolean): boolean; export declare function getTelegramPendingApproval(id: string): TelegramPendingApproval | undefined; export declare function listTelegramPendingApprovals(): TelegramPendingApproval[];