export type IntegrationRequestScope = { orgId: string | null; orgScope?: "personal"; defaultAgentEngineScope?: "deployment"; }; export declare function resolveIntegrationRequestScope(input: { ownerEmail: string; orgId?: string | null; orgScope?: "personal"; principalType?: "user" | "service"; }): Promise; export declare function integrationRequestContext(scope: IntegrationRequestScope): { orgId?: string; orgScope?: "personal"; defaultAgentEngineScope?: "deployment"; };