import { LitElement } from 'lit'; /** * @tag loquix-correction-input * @summary Inline form for proposing a correction to an assistant message. * * Shows the original answer (strikethrough) when provided, plus a textarea for * the correction and an optional reason input. Submit is disabled until the * correction is non-empty (and reason is non-empty when `reason-required`). * * All values are rendered as text — no `unsafeHTML` — so user-supplied content * cannot inject markup. * * @csspart container - The outer wrapper. * @csspart original - The strikethrough block showing the original text. * @csspart field - One labelled field (correction or reason). * @csspart textarea - The correction textarea. * @csspart input - The reason input. * @csspart submit - Submit button. * @csspart cancel - Cancel button. * * @fires loquix-correction-submit - When Submit is clicked. * Detail: `{ correction, reason?, original? }`. * @fires loquix-correction-cancel - When Cancel is clicked. */ export declare class LoquixCorrectionInput extends LitElement { static styles: import("lit").CSSResult[]; private _localize; private _uid; /** The original assistant text that the user wants to correct. */ original: string; /** The current correction text. Two-way: updates internally on input. */ value: string; /** The reason text. Two-way: updates internally on input. */ reason: string; /** When true, requires a non-empty reason before Submit is enabled. */ reasonRequired: boolean; private _onValueInput; private _onReasonInput; private _isSubmitDisabled; private _onSubmit; private _onCancel; protected render(): import("lit").TemplateResult<1>; } //# sourceMappingURL=loquix-correction-input.d.ts.map