export type KeyModeResult = { type: "key"; key: string; } | { type: "manual"; }; export interface KeyStepDeps { getEnvKey: () => string | undefined; promptKey: () => Promise; confirmManual: () => Promise; } export declare function resolveKeyMode(deps: KeyStepDeps): Promise;