import { CustomModalLayoutProps, ModalProps } from '@wix/design-system';
import React, { ReactElement } from 'react';
import { PickerModalState } from '../../hooks';
import { FiltersMap } from '@wix/bex-core';
import { MultipleSelection } from '../MaxSelection';
export interface PickerModalProps<T, F extends FiltersMap = FiltersMap> extends Partial<CustomModalLayoutProps> {
    /**
     * Optional props to forward to `Modal` component
     */
    modalProps?: Partial<ModalProps>;
    /** State object created with [`usePickerModal`](./?path=/story/base-components-collections-picker-hooks--usepickermodal) */
    state: PickerModalState<T, F>;
    /**
     * 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.<br>
     * 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<T, F extends FiltersMap = FiltersMap>(props: PickerModalProps<T, F>): React.JSX.Element;
//# sourceMappingURL=PickerModal.d.ts.map