import { FieldsetHTMLAttributes, ReactNode } from 'react';
export interface FieldsetProps extends FieldsetHTMLAttributes {
label?: string | ReactNode;
showLabelAsterisk?: boolean;
/** Callback function called when the label is clicked */
onLabelClick?: (e: React.MouseEvent) => void;
children?: ReactNode;
errorMessage?: string;
className?: string;
dataHook?: string;
/** Provide id for field to use with aria-labelledby. */
labelId?: string;
/** Provide id for error message to use with aria-describedby. */
errorMessageId?: string;
}
export declare const FieldsetDataHooks: {
Error: string;
Label: string;
LabelAsterisk: string;
};
//# sourceMappingURL=types.d.ts.map