import { WixPatternsContainer, ConditionalModalState, FiltersMap, TypedEmitter, CloseSidePanel } from '@wix/bex-core';
import { CollectionDragEndEvent } from './DragAndDrop';
import { ToolbarCollectionState } from '../../state';
export declare class ReorderModeState<T, F extends FiltersMap> {
    readonly discardChangesModal: ConditionalModalState<null>;
    readonly feature = "Drag and Drop";
    readonly origin = "Table Toolbar";
    toolbar: ToolbarCollectionState<T, F>;
    container: WixPatternsContainer;
    _isReorderModeSubmitted: boolean;
    pendingPromise: Promise<void> | null;
    closeSidePanel?: CloseSidePanel;
    readonly events: TypedEmitter<{
        submitSuccess: () => void;
        submitError: (error: unknown) => void;
    }>;
    constructor(params: {
        toolbar: ToolbarCollectionState<T, F>;
        container: WixPatternsContainer;
        closeSidePanel?: CloseSidePanel;
    });
    init(): () => void;
    get optimisticActions(): import("@wix/bex-core").CollectionOptimisticActions<T, F> | undefined;
    get patches(): never[] | import("mobx").IObservableArray<import("@wix/bex-core/dist/types/state/CollectionOptimisticPatch").OptimisticPatch<T>>;
    get dnd(): import("./DragAndDropState").DragAndDropState<T, F>;
    get moves(): CollectionDragEndEvent<T, F>[];
    get isReorderModeToolbarVisible(): boolean;
    get isReorderModePending(): boolean;
    get snapshot(): T[][];
    get onSubmit(): Promise<void>;
    _showSuccessToast(): void;
    _reportApplyButtonClickedBiEvent(): void;
    _reportDiscardChangesBeforeApplyBiEvent(): void;
    reportLearnMoreClickedBiEvent(): void;
    onBulkCancel(): Promise<void>;
    onBulkSubmit(): Promise<void>;
    _setIsReorderModeSubmitted(submitted: boolean): void;
}
//# sourceMappingURL=ReorderModeState.d.ts.map