/**
 * Event payload emitted by the field error component.
 */
export type FieldErrorEventPayload = {
	/**
	 * Host element reference.
	 */
	host: HTMLVegaFieldErrorElement;
	/**
	 * Whether the field is valid.
	 */
	isValid: boolean;
	/**
	 * Optional error message.
	 */
	message?: string;
};
