import type { ChangeEvent } from 'react'; import { Component } from 'react'; import type { FieldContext } from 'informed'; declare type FieldValue = string[]; interface CheckboxListComponentState { collapsed: boolean; } export interface CheckboxListComponentProps { items: string[]; maxDisplayedItems?: number; validateOnChange?: boolean; showControls?: boolean; trimItemsLength?: boolean; } export declare class CheckboxListComponent extends Component & CheckboxListComponentProps, CheckboxListComponentState> { state: CheckboxListComponentState; onCheckBoxClick(event: ChangeEvent>): void; private isFieldChecked; private toggle; private selectAll; private clearAll; render(): JSX.Element; } export declare const CheckboxList: import("react").ComponentType & CheckboxListComponentProps>; export {};