import { Field } from './Field'; import { FieldChangeEvent } from './Events'; import { FieldClickEvent } from "./Events"; import { FieldDefinition, FormDefinition } from './FieldDefinitions'; import { FormField } from './FormField'; import { InvalidError, InvalidErrors, InvalidEvent } from './InvalidEvent'; export declare function get(data: { [key: string]: any; }, path: string): any; export declare function set(data: { [key: string]: any; }, path: string, value: any): any; export declare class Form extends Field { value: any | undefined; fetchDefinition(url: string): Promise; set src(url: string); target: "_blank" | "_parent" | "_self" | "_top" | undefined; action: string | undefined; method: "GET" | "POST" | undefined; anonymous: boolean | undefined; form: FormField | undefined; nativeForm: HTMLFormElement | undefined; private _loaded; private _invalidTimer; protected shouldUpdate(): boolean; render(): import("lit-html").TemplateResult<1 | 2> | undefined; updated(): void; renderHeader(): void; getValue(path: string): any; setValue(path: string, value: any): any; getField(path: string): any; setField(path: string, value: any): any; focusField(path: string): boolean; clearCustomValidity(): void; setCustomValidity(customErrors: InvalidErrors): void; validate(report: boolean, path?: string): boolean; protected submit(e: Event): void; protected clicked(e: FieldClickEvent): void; protected inputted(e: FieldChangeEvent): void; protected changed(e: FieldChangeEvent): void; protected applyEvent(e: CustomEvent): void; protected invalid(e: InvalidEvent): void; protected focusError(path: string, error: InvalidError): void; } //# sourceMappingURL=Form.d.ts.map