import { runProjectInfrastructureLifecycle } from '@ankhorage/infra/project'; import { type TrustedOAuthSecretResolver } from '../secrets/trustedOAuthInfraEnvironment'; import { ensureProjectInfrastructureRuntimeSession } from './infraSession'; import type { ProjectManager } from './projectManager'; type StudioInfraProjectManager = Pick; interface StudioInfraUpDependencies { readonly ensureProjectInfrastructureRuntimeSession: typeof ensureProjectInfrastructureRuntimeSession; readonly runProjectInfrastructureLifecycle: typeof runProjectInfrastructureLifecycle; } export interface StudioInfraUpResult { readonly target?: string; readonly regenerated: Awaited>; readonly skipped?: Awaited>['skipped']; readonly trustedOAuth: { readonly deferred: false; } | { readonly deferred: true; readonly reason: string; }; } export declare function upProjectInfrastructure(args: { readonly projectId: string; readonly projectManager: StudioInfraProjectManager; readonly workspaceRoot: string; readonly secretResolver?: TrustedOAuthSecretResolver; }, dependencies?: StudioInfraUpDependencies): Promise; export {}; //# sourceMappingURL=studioInfraUp.d.ts.map