import { CollectionState, FiltersMap, Fqdn, PickerEvents, PickerState, ReportBI, TaskState, FilterEventOptions, Filter } from '@wix/bex-core';
import type { PickerModalState } from '../hooks';
import { UsePickerContentParamsBase } from '../hooks/usePickerContent';
import { TypedEmitter } from '@wix/bex-core/events';
import { AdditionalStepState } from './AdditionalStepState';
export interface PickerContentStateParams<T, F extends FiltersMap> {
    modalState: PickerModalState<T, F>;
    collection: CollectionState<T, F>;
    createBILogger: <P extends Fqdn>(defaultParams: P) => ReportBI;
    events?: PickerEvents<T, F>;
    initialSelect?: UsePickerContentParamsBase<T, F>['initialSelect'];
}
export declare class PickerContentState<T, F extends FiltersMap> {
    readonly picker: PickerState<T, F>;
    readonly modalState: PickerModalState<T, F>;
    readonly initTask: TaskState<unknown>;
    readonly reportBi: ReportBI;
    readonly events: TypedEmitter<{
        beforeToggleIsSelectAll: () => {
            afterToggleIsSelectAll: () => unknown;
        };
    }>;
    initialSelect: PickerContentStateParams<T, F>['initialSelect'];
    additionalStep?: AdditionalStepState<T, F>;
    isAdditionalStepShown: boolean;
    autoAdditionalStepOnInitialSelect: boolean;
    isAutoAdditionalStepPending: boolean;
    constructor(params: PickerContentStateParams<T, F>);
    _setInitialData(): void;
    _setInitialSelection(): void;
    selectCreatedItems(items?: T[]): void;
    onCreateNew: (items?: T[]) => Promise<void>;
    onCreateNewButtonClick: (onClick?: ((param: {
        onClose: (arr?: T[]) => void;
    }) => void) | undefined) => void;
    _resultUpdated: () => void;
    _reportFilterToggleBiOnNextResult(params: FilterEventOptions | undefined, filter: Filter<unknown>): void;
    init(initParams?: {
        autoAdditionalStepOnInitialSelect?: boolean;
    }): () => void;
    toggleIsSelectAll: () => void;
    setIsAdditionalStepShown(value: boolean): void;
}
//# sourceMappingURL=PickerContentState.d.ts.map