import { type ReactElement } from 'react'; type NullableFieldWrapperProps = { /** Whether to auto focus the checkbox. */ autoFocus?: boolean; /** The field element. */ children: ReactElement; /** * When `true`, the field is wrapped and the checkbox is shown. Otherwise, the * field is rendered directly. */ isAllowed?: boolean; /** When `true`, you must disable the field to prevent conflicting user input. */ isNull?: boolean; /** * The checkbox may be readonly in cases where the user has access to see the * field, but not edit it. */ isReadOnly?: boolean; /** The group label. */ label: string; /** Handler that is called when the checkbox's state changes. */ onChange?: (isSelected: boolean) => void; }; /** * Wraps a field component with a "group" (ARIA `
`), and * appends a checkbox to allow setting the value to `null`. * * Prefer a more elegant solution where possible, like clearing the value or * deselecting an option. */ export declare function NullableFieldWrapper(props: NullableFieldWrapperProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=NullableFieldWrapper.d.ts.map