import { r as AppConfig } from "./CodemationAppContext-CA4xzGA6.js"; import { a as CodemationAuthConfig } from "./CodemationWhitelabelConfig-CPKKZwGp.js"; import { a as CodemationFrontendAuthSnapshot, n as InternalAuthBootstrap, r as FrontendAppConfig, t as PublicFrontendBootstrap } from "./PublicFrontendBootstrap-D6TF254t.js"; import { ChildProcess } from "node:child_process"; //#region src/process/ProcessRunner.types.d.ts type ProcessRunOptions = Readonly<{ cwd?: string; env?: NodeJS.ProcessEnv; stdio?: "inherit" | "pipe" | "ignore" | ReadonlyArray<"inherit" | "pipe" | "ignore">; detached?: boolean; windowsHide?: boolean; }>; type ProcessRunResult = Readonly<{ exitCode: number | null; }>; interface ProcessRunner { spawn(command: string, args: ReadonlyArray, options?: ProcessRunOptions): ChildProcess; runSync(command: string, args: ReadonlyArray, options?: ProcessRunOptions): ProcessRunResult; } //#endregion //#region src/presentation/frontend/CodemationFrontendAuthSnapshotFactory.d.ts declare class CodemationFrontendAuthSnapshotFactory { createFromAppConfig(appConfig: AppConfig): CodemationFrontendAuthSnapshot; createFromResolvedInputs(args: Readonly<{ authConfig: CodemationAuthConfig | undefined; env: NodeJS.ProcessEnv; uiAuthEnabled: boolean; }>): CodemationFrontendAuthSnapshot; private resolveUiAuthEnabled; private resolveAuthSecret; private createOauthProviders; private createOAuthProvider; private createOidcProvider; private resolveOAuthProviderName; } //#endregion //#region src/presentation/frontend/FrontendAppConfigFactory.d.ts declare class FrontendAppConfigFactory { private readonly appConfig; private readonly authSnapshotFactory; constructor(appConfig: AppConfig, authSnapshotFactory: CodemationFrontendAuthSnapshotFactory); create(): FrontendAppConfig; } //#endregion //#region src/presentation/frontend/InternalAuthBootstrapFactory.d.ts declare class InternalAuthBootstrapFactory { private readonly appConfig; private readonly authSnapshotFactory; constructor(appConfig: AppConfig, authSnapshotFactory: CodemationFrontendAuthSnapshotFactory); create(): InternalAuthBootstrap; } //#endregion //#region src/presentation/frontend/PublicFrontendBootstrapFactory.d.ts declare class PublicFrontendBootstrapFactory { private readonly frontendAppConfigFactory; constructor(frontendAppConfigFactory: FrontendAppConfigFactory); create(): PublicFrontendBootstrap; } //#endregion export { ProcessRunOptions as a, CodemationFrontendAuthSnapshotFactory as i, InternalAuthBootstrapFactory as n, ProcessRunResult as o, FrontendAppConfigFactory as r, ProcessRunner as s, PublicFrontendBootstrapFactory as t }; //# sourceMappingURL=PublicFrontendBootstrapFactory-DDz0bVIV.d.ts.map