import { LitElement } from 'lit'; import { FormValue, FieldMeta, ValidationMode } from '@viasat/beam-shared/components/form'; import { Optional } from '@viasat/beam-shared/utils/types'; import { BmFormContext } from './Form.context'; export { validators } from '@viasat/beam-shared/components/form'; /** * @summary `bm-form` * * @slot slot - Add controls to the Form * @fires submit - Validates the inputs and submits the form */ export declare class BmForm extends LitElement { #private; /** * Specify if validation runs on change or when loosing focus */ validationMode: ValidationMode; /** * Specify initial values on Form controls based on their names */ initialValues: Record; /** * Specify if input is a required */ required: boolean; /** * Specify if input is a disabled */ disabled: boolean; /** * Specify if input is a read only */ readOnly: boolean; action: Optional; method: Optional; target: Optional; enctype: Optional; formMeta: Record; formRef: import('lit-html/directives/ref').Ref; private _actionFired; formContext: BmFormContext; willUpdate(changedProperties: Map): void; render(): import('lit-html').TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'bm-form': BmForm; } } //# sourceMappingURL=Form.d.ts.map