import { ComponentType } from "react";
import { ManagedObject, ManagedObjectBase, Node } from "./ManagedObject.js";
declare const FieldSetContextProvider: import("react").Provider<ManagedObjectBase<import("./schema.js").Schema> | undefined>;
export declare function useFieldSet(): ManagedObjectBase<import("./schema.js").Schema>;
export interface InputComponentProps {
    object: Node;
    type: string;
    onChange?: (event: any) => void;
    disabled?: boolean;
}
export declare class FormContext {
    object: ManagedObject;
    components: Record<string, ComponentType<InputComponentProps>>;
    disabled: boolean;
    constructor(object: ManagedObject, components?: Record<string, ComponentType<InputComponentProps>>, disabled?: boolean);
}
export declare function useForm(): FormContext;
declare const FormContextProvider: import("react").Provider<FormContext | undefined>;
export { FieldSetContextProvider, FormContextProvider };
//# sourceMappingURL=FormContext.d.ts.map