import React from "react"; import type { Atom } from "../atom/definition.ts"; import type { Field } from "../field/definition.ts"; import { FieldImpl } from "../field/implementation.ts"; import type { Form } from "./definition.ts"; export declare const formChange: Form.Change; export { FormImpl as Form }; export declare class FormImpl { #private; static use(value: Value, deps: React.DependencyList, options?: Form.Options): FormImpl; static Component(props: Form.ComponentProps): React.ReactElement; constructor(initial: Value, options?: Form.Options); deconstruct(): void; get id(): string; get field(): FieldImpl; get value(): Value; set(value: Value): FieldImpl; get initial(): Value; get dirty(): boolean; useDirty(): boolean; commit(): void; reset(): void; get $(): {} | undefined; at(key: Key): any; useCompute(callback: Atom.Compute.Callback, deps: React.DependencyList): Computed; into(intoMapper: any): any; useInto(intoMapper: any, deps: React.DependencyList): any; watch(callback: Atom.Watch.Bare.Callback): Atom.Unwatch; useWatch(callback: Atom.Watch.Bare.Callback): void; get valid(): boolean; validate(): Promise; addError(error: Field.Error.Type): void; control(props?: Form.ControlProps | undefined): Form.ControlRegistration; get submitting(): boolean; } //# sourceMappingURL=implementation.d.ts.map