import { type HtmlComponent } from '@defra/forms-model';
import { ComponentBase } from '~/src/server/plugins/engine/components/ComponentBase.js';
export declare class Html extends ComponentBase {
options: HtmlComponent['options'];
content: HtmlComponent['content'];
constructor(def: HtmlComponent, props: ConstructorParameters[1]);
getViewModel(): {
content: string;
label?: import("./types.js").Label;
type?: string;
id?: string;
name?: string;
value?: import("../types.js").FormValue;
hint?: {
id?: string;
text: string;
};
prefix?: import("./types.js").ComponentText;
suffix?: import("./types.js").ComponentText;
classes?: string;
condition?: string;
errors?: import("../types.js").FormSubmissionError[];
errorMessage?: {
text: string;
};
summaryHtml?: string;
html?: string;
attributes: {
autocomplete?: string;
maxlength?: number;
multiple?: string;
accept?: string;
inputmode?: string;
};
maxlength?: number;
maxwords?: number;
rows?: number;
items?: import("./types.js").ListItem[] | import("./types.js").DateInputItem[];
fieldset?: {
attributes?: string | Record;
legend?: import("./types.js").Label;
};
formGroup?: {
classes?: string;
attributes?: string | Record;
};
showFieldsetError?: boolean;
components?: import("./types.js").ComponentViewModel[];
upload?: {
count: number;
summaryList: import("../types.js").SummaryList;
};
};
}