/** * AskUserQuestion handler factory. * * Returns the appropriate handler based on TTY availability: * - TTY → interactive terminal UI (select / text input) * - No TTY → immediately denies so the AI falls back to plain text */ import type { AskUserQuestionHandler } from './types.js'; export { AskUserQuestionDeniedError } from '../../core/workflow/ask-user-question-error.js'; /** * Create an AskUserQuestion handler based on TTY availability. * * - TTY available → returns interactive terminal UI handler * - No TTY → returns a deny handler (throws `AskUserQuestionDeniedError`) */ export declare function createAskUserQuestionHandler(): AskUserQuestionHandler; //# sourceMappingURL=ask-user-question-handler.d.ts.map