import React from 'react'; import { FieldSize, Intensity } from 'types'; import { CheckboxProps } from '../Checkbox/Checkbox'; export interface CheckboxTitleProps extends Omit { label?: React.ReactNode; } export interface ChoiceListProps extends React.FieldsetHTMLAttributes { checkboxTitleProps?: CheckboxTitleProps; children: React.ReactNode; errorMessage?: string; fieldSize?: FieldSize; id: string; intensity?: Intensity; labelledBy?: string; legend?: string; message?: string; required?: boolean; } declare const ChoiceList: { ({ checkboxTitleProps, children, errorMessage, fieldSize, id, intensity, labelledBy, legend, message, required, ...props }: ChoiceListProps): JSX.Element; Indent: ({ children, fieldSize, ...props }: ChoiceListIndentProps) => JSX.Element; CheckboxTitle: (props: CheckboxProps) => JSX.Element; }; export interface ChoiceListIndentProps extends React.HTMLAttributes { children: React.ReactNode; fieldSize?: FieldSize; } export default ChoiceList;