export declare function memoizeAgentEngineStatus(identity: { userEmail?: string | null; orgId?: string | null; orgScope?: "personal" | null; isDirectLoopbackRequest?: boolean; }, load: () => Promise): Promise; export declare function getMemoizedAgentEngineStatus(identity: { userEmail?: string | null; orgId?: string | null; orgScope?: "personal" | null; isDirectLoopbackRequest?: boolean; }): Promise | undefined; export declare function invalidateAgentEngineStatusCache(): void; /** @internal Test assertion for bounded status-cache retention. */ export declare function getAgentEngineStatusCacheSizeForTests(): number;