import { LitElement, TemplateResult } from "lit"; import { FieldClickEvent } from './Events'; import { FieldDefinition, InputFieldDefinition } from './FieldDefinitions'; import { InvalidErrors, InvalidEvent } from './InvalidEvent'; import { Library, Resources, Settings } from './Registry'; export declare const createField: (resources: Resources) => TemplateResult | undefined; export declare class Field extends LitElement { library: Library | undefined; settings: Settings | undefined; definition: T | undefined; value: V | undefined; context: any; parentPath: string | undefined; valid: boolean; report: boolean; errors: InvalidErrors | undefined; customErrors: InvalidErrors | undefined; static shadowDom: boolean; path(): string; clearCustomValidity(): void; setCustomValidity(customErrors: InvalidErrors): void; reportValidity(path?: string): boolean; checkValidity(path?: string): boolean; validate(report: boolean, path?: string): boolean; protected createRenderRoot(): Element | ShadowRoot; protected shouldUpdate(changedProperties?: Map): boolean; protected changed(e: Event): void; protected inputted(e: Event): void; protected applyEvent(e: Event): void; protected clicked(e: FieldClickEvent): void; protected focused(e: Event): void; protected blurred(e: Event): void; protected invalid(e: InvalidEvent): void; protected firstPathElement(path: string): string; protected prependPath(path: string): string; } export declare abstract class CompoundField extends Field { protected renderHeader(): void; protected includeOptionalField(fields: InputFieldDefinition[], include: boolean, type: string, name: string, helpText: string, autocomplete: "on" | "off" | "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday" | "bday-year" | "bday-day" | "bday-month" | "billing" | "cc-additional-name" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "email" | "family-name" | "fax" | "given-name" | "home" | "honorific-prefix" | "honorific-suffix" | "impp" | "language" | "mobile" | "name" | "new-password" | "nickname" | "organization" | "organization-title" | "pager" | "photo" | "postal-code" | "sex" | "shipping" | "street-address" | "tel-area-code" | "tel" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-local-prefix" | "tel-local-suffix" | "tel-national" | "transaction-amount" | "transaction-currency" | "url" | "username" | "work"): void; } //# sourceMappingURL=Field.d.ts.map