import { CustomModalLayoutProps, ModalProps } from '@wix/design-system'; import { ReactElement } from 'react'; import { PickerModalState } from '../../hooks'; import { FiltersMap } from '@wix/bex-core'; import { MultipleSelection } from '../MaxSelection'; export interface PickerModalProps extends Partial { /** * Optional props to forward to `Modal` component */ modalProps?: Partial; /** State object created with [`usePickerModal`](/pages/cairo/?path=/story/picker-modal-hooks--usepickermodal) */ state: PickerModalState; /** * A component to be rendered in the modal content when there's a failure fetching the data * @param params * @param params.err - The original failure error object * @param params.isOnline - Indicates whether internet connection is available or not */ renderError: (params: { err: unknown; isOnline: boolean; }) => ReactElement; /** * Limits the number of items that can be selected.
* Either a boolean or a number. A number indicates the maximum number of selections, `true` indicates no limit, `false` indicates only 1 item (radio button will be shown instead of checkboxes) */ multiple?: MultipleSelection; } export declare function PickerModal(props: PickerModalProps): JSX.Element; //# sourceMappingURL=PickerModal.d.ts.map