import { LitElement } from 'lit'; import { Constructor } from './constructor.js'; export declare abstract class SbbFormAssociatedMixinType { get form(): HTMLFormElement | null; get name(): string; set name(value: string); get type(): string; get value(): string | null; set value(value: string | null); get validity(): ValidityState; get validationMessage(): string; get willValidate(): boolean; protected formDisabled: boolean; protected readonly internals: ElementInternals; checkValidity(): boolean; reportValidity(): boolean; formAssociatedCallback?(form: HTMLFormElement | null): void; formDisabledCallback(disabled: boolean): void; abstract formResetCallback(): void; abstract formStateRestoreCallback(state: FormRestoreState | null, reason: FormRestoreReason): void; protected updateFormValue(): void; } /** * The FormAssociatedMixin enables native form support for custom controls. */ export declare const SbbFormAssociatedMixin: >(superClass: T) => Constructor & T; /** * A value to be restored for a component's form value. If a component's form * state is a `FormData` object, its entry list of name and values will be * provided. */ export type FormRestoreState = File | string | [string, FormDataEntryValue][]; /** * The reason a form component is being restored for, either `'restore'` for * browser restoration or `'autocomplete'` for restoring user values. */ export type FormRestoreReason = 'restore' | 'autocomplete'; //# sourceMappingURL=form-associated-mixin.d.ts.map