import type { TerminalCapabilityProfile } from "./terminal-capabilities.js"; export type PromptScriptValue = string | string[] | boolean | null; interface PromptScript { [key: string]: PromptScriptValue; } export interface PromptChoiceOption { value: string; label: string; description?: string; } type PromptChoiceInput = string | PromptChoiceOption; export interface PromptSession { script: PromptScript; capabilities: TerminalCapabilityProfile; scripted: boolean; askText(stepId: string, prompt: string, fallback?: string): Promise; askChoice(stepId: string, prompt: string, choices: readonly PromptChoiceInput[], fallback: string): Promise; askMultiChoice(stepId: string, prompt: string, choices: readonly PromptChoiceInput[], fallback: string[]): Promise; askConfirm(stepId: string, prompt: string, fallback?: boolean): Promise; } export declare function createPromptSession(capabilities: TerminalCapabilityProfile): PromptSession; export declare function readScriptLabel(stepId: string, fallback: string): string; export {}; //# sourceMappingURL=prompt-io.d.ts.map