import { Primitive } from './types'; export type NumberOption = { value: number; name?: string; }; export type TextOption = { value: string; name?: string; }; export type ValidationLevel = 'success' | 'failure'; export type Validation = { type: ValidationLevel; message?: string; }; export type ValidationHandler = (value: Primitive) => Promise; type FormState = { event: 'submit' | 'input'; validations: Map; }; export declare const formStore: import("@stencil/store").ObservableMap<{ forms: Map; }>; export declare function addForm(form: HTMLSlFormElement): void; export declare function removeForm(form: HTMLSlFormElement): void; export declare function updateFormControlStatus(form: HTMLSlFormElement, formControl: HTMLSlFormControlElement, validation: Validation | null, shouldDisplay: boolean): void; export declare const noValidation: ValidationHandler; export declare const emailValidation: ValidationHandler; export type TextAutocomplete = 'off' | 'name' | 'email' | 'username' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'cc-name' | 'transaction-currency' | 'transaction-amount' | 'language' | 'bday' | 'sex' | 'url' | 'photo' | 'webauthn'; export type NumberAutocomplete = 'off' | 'bday-day' | 'bday-month' | 'bday-year'; export {};