import { G as ServerEnvInspection, K as ServerEnvInspectionEntry } from "./bridge-Cs9YfQWk.js"; import { n as ViteHubCliContributor, t as ViteHubCliContext } from "./cli-BPp7rdcA.js"; //#region src/secret-cli.d.ts interface SecretCliContext { env: Readonly>; stderr: { write: (chunk: string) => unknown; }; stdout: { write: (chunk: string) => unknown; }; } interface SecretCliFeature { description: string; name: string; run: (args: string[], context: SecretCliContext) => Promise; usage: string; } /** `vitehub secret` features. They read only the process env and never load the project. */ export declare const secretCliFeatures: SecretCliFeature[]; //#endregion //#region src/cli.d.ts export interface EnvCliInspectInput { applicationRoot?: string; env: NodeJS.ProcessEnv; rootDir: string; stderr: ViteHubCliContext["stderr"]; stage: string; } export interface EnvCliOptions { /** Replaces stage loading in tests. */ inspect?: (input: EnvCliInspectInput) => Promise; resolveProjectRoot: (viteRoot: string) => string; } export interface EnvCliReport { entries: readonly ServerEnvInspectionEntry[]; ok: boolean; stage: string; } export declare function createEnvCliContributor(options: EnvCliOptions): ViteHubCliContributor; //#endregion