/**
 * Error and deny handler for AskUserQuestion blocking.
 *
 * Lives in core/workflow/ because it is used by multiple provider adapters
 * (claude, opencode) — keeping it provider-neutral avoids cross-infra
 * runtime dependencies.
 */
import type { AskUserQuestionHandler } from './types.js';
/**
 * Thrown by the deny handler to signal that AskUserQuestion should be
 * blocked rather than retried. Caught by SdkOptionsBuilder to return
 * `decision: 'block'`.
 */
export declare class AskUserQuestionDeniedError extends Error {
    constructor();
}
/**
 * Create a handler that always denies AskUserQuestion.
 *
 * Used during workflow execution to prevent user interaction —
 * the thrown error is caught by SdkOptionsBuilder and converted
 * to `decision: 'block'`, prompting the AI to proceed on its own.
 */
export declare function createDenyAskUserQuestionHandler(): AskUserQuestionHandler;
//# sourceMappingURL=ask-user-question-error.d.ts.map