///
import { Choice, SingleLevelGroupChoices } from '../types';
type FormattedOption = {
type: 'option';
label: L;
value: string;
props?: O;
};
type FormattedGroup = {
type: 'group';
label: L;
options: Array | FormattedGroup>;
props?: G;
};
type FormattedOptions = Array | FormattedGroup>;
export declare function parseSelectOptions(options?: Array | SingleLevelGroupChoices>, children?: React.ReactNode | undefined): FormattedOptions;
export declare function parseRadioOptions(options?: Array>): Array>;
export declare function parseCheckboxOptions(options?: Array>): Array>;
export declare const getRadioProps: (value: string, controlProps: Record) => {
value: string;
checked: boolean | undefined;
type: string;
};
export declare const getCheckboxProps: (value: string, controlProps: Record) => {
value: string;
checked: any;
type: string;
};
export {};