import { CollectionState, ErrorMonitor, FiltersMap, Fqdn, KeyedItem, PartialWindow, PickerEvents, PickerState, ReportBI, TaskState } from '@wix/bex-core';
import { LogoType } from '../hooks';
type OnNavigate<T> = (params: {
    item: T;
    index: number;
    url: string;
}) => unknown;
export interface PickerStandaloneEvents<T, F extends FiltersMap> extends PickerEvents<T, F> {
    readonly onSingleItemAutoNavigation?: OnNavigate<T>;
    readonly onContinueToDestinationUrl?: OnNavigate<T>;
}
export interface PickerStandaloneStateParams<T, F extends FiltersMap = FiltersMap> {
    collection: CollectionState<T, F>;
    initialSelect?: true | ((item: T, index: number) => boolean);
    noItemsAvailableDestinationUrl?: string;
    defaultDestinationUrl: string | ((item: T) => string);
    window: PartialWindow;
    errorMonitor: ErrorMonitor;
    logoType: LogoType;
    urlSegmentPropertyMap?: Record<string, (keyof T)[]>;
    events?: PickerStandaloneEvents<T, F>;
    shouldFilterNotAffectTotalCount?: (filterName: keyof F) => boolean;
    createBILogger: <P extends Fqdn>(defaultParams: P) => ReportBI;
}
export declare class PickerStandaloneState<T, F extends FiltersMap = FiltersMap> {
    readonly picker: PickerState<T, F>;
    readonly initialSelect?: PickerStandaloneStateParams<T, F>['initialSelect'];
    readonly noItemsAvailableDestinationUrl?: string;
    readonly defaultDestinationUrl: string | ((item: T) => string);
    primaryButtonText: string | null;
    title?: string | null | undefined;
    subtitle?: string | null | undefined;
    destinationUrlTemplate?: URL;
    readonly reportBi: ReportBI;
    readonly window: PartialWindow;
    readonly errorMonitor: ErrorMonitor;
    readonly urlSegmentPropertyMap?: Record<string, (keyof T)[]>;
    readonly events: PickerStandaloneEvents<T, F>;
    readonly initTask: TaskState<unknown>;
    readonly logoType: PickerStandaloneStateParams<T, F>['logoType'];
    submitted: boolean;
    isMobileView: boolean;
    isDuringSearch: boolean;
    _hasCreateNewAction?: boolean;
    constructor(params: Readonly<PickerStandaloneStateParams<T, F>>);
    onCreateNewClick(): void;
    onCreateNewActionCompleted({ itemId }: {
        itemId?: string;
    }): void;
    init(): () => void;
    private resolveDestinationUrl;
    private navigateToDestinationUrl;
    handlePrimaryButtonClick(keyedItem: KeyedItem<T>): void;
    setIsDuringSearch(newVal?: boolean): void;
    private subscribeResultUpdated;
}
export {};
//# sourceMappingURL=PickerStandaloneState.d.ts.map