import XNode from "@web-atoms/core/dist/core/XNode.js"; import "../styles/form.global.css"; export interface IForm { "data-submit-event"?: string; "data-show-validation"?: "true" | "false"; "data-error-message"?: string; eventSubmit?: never; submitCommand?: never; [key: string]: any; } export default function Form({ "data-submit-event": submitEvent, "data-show-validation": showValidation, "data-error-message": errorMessage, ...a }: IForm, ...nodes: XNode[]): any; type Func = (...p: any[]) => any; export interface IValidator { value: Func; message?: (value: string, label: string) => string; isValid?: (value: string, element: HTMLElement) => boolean; } export declare const BindError: ({ value, message, isValid, }: IValidator) => any; export declare const BindEmailError: ({ value, message, isValid, }: IValidator) => any; export {}; //# sourceMappingURL=Form.d.ts.map