import { ICollectionComponentState } from './ICollectionComponentState';
import { NavigateOptions, WixPatternsContainer } from '@wix/bex-core';
import { NavigateFunction } from 'react-router-dom';
interface WixPatternsRouterStateParams {
    container: WixPatternsContainer;
    navigate: NavigateFunction;
}
export type RouteState = {
    _createdEntity?: any;
    _updatedEntity?: any;
    _chosenEntity?: any;
} | null;
export declare class WixPatternsRouterState {
    readonly stateRefs: Map<string, ICollectionComponentState>;
    readonly container: WixPatternsContainer;
    readonly _navigate: NavigateFunction;
    currentState: RouteState;
    isUsingCache: boolean;
    isCollectionStale: boolean;
    constructor(params: WixPatternsRouterStateParams);
    setCurrentState(state: RouteState): void;
    saveState<S extends ICollectionComponentState>(state: S): void;
    navigate(to: string, options: NavigateOptions): void;
}
export {};
//# sourceMappingURL=WixPatternsRouterState.d.ts.map