/** Returns `true` iff the env var is set to something non-empty (and * not just whitespace). When false, all senders are allowed. */ export declare function isSenderAllowlistConfigured(): boolean; /** Returns `true` iff (platform, userId) is allowed to use the bot. * When allowlist is unconfigured: returns `true` (open access). * When `*` is in the list: returns `true` for any caller. * Otherwise: requires exact (platform, userId) match. */ export declare function isSenderAllowed(platform: string, userId: string | undefined): boolean; /** Localized refusal message for IM users. Terse — the bot shouldn't * reveal who IS on the allowlist. */ export declare function senderDenialMessage(platform: string, userId: string | undefined): string; export declare function logStartupResolution(): void; /** Test-only reset. */ export declare function _resetCache(): void; //# sourceMappingURL=sender-allowlist.d.ts.map