import { FiltersMap, PaginationModeRef, PickerState } from '@wix/bex-core';
import { PromiseState } from '@wix/bex-utils';
import { UsePickerModalParams } from './usePickerModal';
import { MultipleSelection } from '../../components/MaxSelection';
import { OnSelectOptions, RawFiltersParams } from './UsePickerModalParamsBase';
import { CustomModalContent } from '../customModalContent';
import type { PickerContentState } from '../../state';
export declare class PickerModalState<T, F extends FiltersMap> {
    readonly multipleRef: {
        current: MultipleSelection | undefined;
    };
    readonly pickerContentRef: {
        current: {
            onCreateNew?: ((items?: T[]) => unknown) | undefined;
        } | undefined;
    };
    readonly onSelectRef: {
        current: (items: T[], options: OnSelectOptions<T>) => unknown;
    };
    readonly disableAutoSelectionRef: {
        current: boolean | undefined;
    };
    readonly bi: import("@wix/fe-essentials-business-manager").Logger;
    readonly _isModalOpen: import("@wix/bex-utils").Reactive<boolean>;
    readonly _isCustomContentVisible: import("@wix/bex-utils").Reactive<boolean>;
    readonly _customContent: import("@wix/bex-utils").Reactive<CustomModalContent<T> | undefined>;
    readonly _isOpenButtonClicked: import("@wix/bex-utils").Reactive<boolean>;
    readonly fetchFirstPage: PromiseState<{
        firstPageResult: import("@wix/bex-core/dist/types/hooks").OffsetQueryResult<T> | undefined;
    }>;
    readonly fetchPickerComponent: PromiseState<import("../..").PickerContentComponent<T, F>>;
    readonly fetchInitialProps: PromiseState<{
        cairoMessages: import("@wix/wix-i18n-config").Messages | {};
    }>;
    readonly minContentHeight: string | number;
    readonly shouldFilterNotAffectTotalCount: (filterName: keyof F) => boolean;
    readonly queryName: string;
    readonly fetchData: import("@wix/bex-core/dist/types/hooks").OffsetFetchDataFn<T, F> | import("@wix/bex-core/dist/types/hooks").CursorFetchDataFn<T, F>;
    readonly limit: number | undefined;
    readonly _paginationModeRef: PaginationModeRef;
    readonly events: import("./UsePickerModalParamsBase").PickerModalEvents | undefined;
    readonly filters: Partial<RawFiltersParams<F>>;
    readonly environment: import("@wix/bex-core").Environment;
    constructor(params: UsePickerModalParams<T, F>);
    get isCustomContentVisible(): boolean;
    get isModalOpen(): boolean;
    get paginationMode(): 'offset' | 'cursor' | undefined;
    set paginationMode(value: 'offset' | 'cursor' | undefined);
    prefetch: () => Promise<boolean>;
    hover: () => void;
    onCreateNew: (items?: T[]) => Promise<void>;
    onPrimaryButtonClick: (state: (PickerContentState<T, F> & {
        indeterminateMap?: {
            partialModeKeys?: string[];
        };
    }) | PickerState<T, F>, additionalStepData?: unknown) => void;
    openModal: () => void;
    closeModal: () => void;
    openModalOrCTA: () => Promise<void>;
    get isOpenButtonClicked(): boolean;
    get noAvailableItemsFound(): boolean;
    get showButtonLoadingIndication(): boolean;
    get customContent(): CustomModalContent<T> | undefined;
    _commonDynamicBiParams(): {};
    getMaxItems: () => number | undefined;
    onIsOpenChanged(): void;
    init(): (() => void) | undefined;
    _reportModalLoaded(): void;
}
//# sourceMappingURL=PickerModalState.d.ts.map