import React, { PropsWithChildren } from 'react';
import { FieldSetProps } from '../FieldSet/FieldSet';
import { FieldSetStatusFunc } from './FormStatusFunc';
export declare type FormFieldSetProps<TData> = {
    status?: FieldSetStatusFunc<TData>;
} & Pick<FieldSetProps, Exclude<keyof FieldSetProps, 'status'>>;
/**
 * Generic fieldset component for use within a Form.
 * FormFieldSet has an optional status function, which
 * determines fieldset status based on the form data,
 * to which this FormFieldSet has access via the FormContext.
 */
export declare const FormFieldSet: <TData extends object>({ status, children, ...props }: React.PropsWithChildren<FormFieldSetProps<TData>>) => JSX.Element;
