import { ReactNode } from 'react'; import { type DependencyRule, type ElementId } from '../../core/forms/rules.js'; export type { DependencyRule, ElementId }; type FormRulesContextType = { rules: DependencyRule[]; fieldValues: Map; setFieldValue: (fieldId: ElementId, value: unknown) => void; isElementVisible: (elementId: ElementId) => boolean; getJumpTarget: (afterStepKey: ElementId) => string | null; isStepVisible: (stepKey: ElementId) => boolean; }; type FormRulesProviderProps = { children: ReactNode; rules?: DependencyRule[]; }; export declare function FormRulesProvider({ children, rules }: FormRulesProviderProps): import("react").JSX.Element; export declare function useFormRules(): FormRulesContextType;