/** @jsxImportSource preact */ /** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { HumanResponseAction } from "@workglow/util"; import type { JSX } from "preact"; /** * A run asking its operator something. The CLI renders this as an Ink panel; the * console renders the same model, and the answer travels back down the same * channel the request came up. */ export declare function HumanPrompt({ request, onAnswer, canAnswer, }: { request: { requestId: string; kind: string; message: string; schema: unknown; data: unknown; }; onAnswer: (action: HumanResponseAction, content: Record | undefined) => void; /** False while the CLI is not answering; the run cannot receive a reply. */ canAnswer?: boolean; }): JSX.Element;