import type { SecretPayload, SecretStoreResult } from '@ankhorage/contracts/secrets'; import type { ProjectManager } from '../orchestrator/projectManager'; export interface TrustedOAuthSecretResolver { resolve(input: { readonly projectId: string; readonly ref: string; }): Promise>; } export type TrustedOAuthInfraEnvironmentForUpResult = { readonly deferred: false; readonly env: Record; } | { readonly deferred: true; readonly env: Record; readonly reason: string; }; export declare function resolveTrustedOAuthInfraEnvironmentForUp(args: { readonly projectId: string; readonly projectManager: Pick; readonly workspaceRoot: string; readonly secretResolver?: TrustedOAuthSecretResolver; }): Promise; export declare function resolveTrustedOAuthInfraEnvironment(args: { readonly projectId: string; readonly projectManager: Pick; readonly workspaceRoot: string; readonly secretResolver?: TrustedOAuthSecretResolver; }): Promise>; //# sourceMappingURL=trustedOAuthInfraEnvironment.d.ts.map