import { Controller } from '@hotwired/stimulus'; import type { TemplateResult } from 'lit-html'; type HTMLFormField = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement; export default class AriadneFormWith extends Controller { static targets: string[]; readonly formFieldTargets: [HTMLFormField]; connect(): void; disconnect(): void; onBlur: (event: Event) => void; onSubmit: (event: Event) => void; validateForm(): boolean; validateField(field: HTMLFormField): boolean; shouldValidateField(field: HTMLFormField): boolean; refreshErrorForInvalidField(field: HTMLFormField, isValid: boolean): void; removeExistingErrorMessage(field: HTMLFormField): void; showErrorForInvalidField(field: HTMLFormField): void; buildFieldErrorHtml(field: HTMLFormField): string; get formFields(): HTMLFormField[]; get firstInvalidField(): HTMLFormField | undefined; getRenderString: (data: TemplateResult) => string; } export {};