import type { Widget } from "./types"; type ProcessedTextLineProps = { context: "game" | "history" | "screen"; text: string | Widget | Array; tag?: keyof React.JSX.IntrinsicElements; onCompletion?: ({ output, variables, }: { output?: Record; variables?: Record; }) => void; autoFocus?: boolean; disabled?: boolean; } | { context: "choice" | "history-choice"; text: string | Widget | Array; tag?: keyof React.JSX.IntrinsicElements; onCompletion: ({ output, variables, }: { output?: Record; variables?: Record; }) => void; autoFocus: boolean; disabled: boolean; }; export declare const ProcessedTextLine: ({ text, context, onCompletion, autoFocus, disabled, tag: Tag, }: ProcessedTextLineProps) => import("preact").JSX.Element | null; export {};