import { PageTrackerState } from './page-tracker';
export declare const pageTrackerStore: {
    state: PageTrackerState;
    listeners: Set<() => void>;
    getState(): PageTrackerState;
    getImmutablePageHistory(): PageTrackerState["pageHistory"];
    setState: (newState: Partial<PageTrackerState>) => void;
    subscribe: (listener: () => void) => () => boolean;
};
/**
 * get PageTrackerStore in any function.
 **/
export declare const getPageTrackerStore: () => PageTrackerState;
export declare const usePageTrackerStore: <T>(selector: (state: PageTrackerState) => T) => T;
