/**
 * Telegram bot auth middleware.
 * Enforces allowedChatIds globally before any command handler runs (D-10).
 * Unauthorized chats are silently ignored — no reply, no log (D-09).
 */
import type { Context, NextFunction } from "grammy";
/** Reset internal cache — for testing only. */
export declare function _resetCache(): void;
export declare function allowedChatIdsMiddleware(ctx: Context, next: NextFunction): Promise<void>;
//# sourceMappingURL=middleware.d.ts.map