/**
 * APIs to interface with a browser's history.
 */
export interface CustomHistory {
    /**
     * The current state.
     */
    state: Record<string, unknown>;
    /**
     * Pushes the new state into the browser's history.
     *
     * @param state The new state.
     */
    pushState(state: Record<string, unknown>): void;
    /**
     * Replaces the existing browser's history state with a new one.
     *
     * @param state The new state.
     */
    replaceState(state: Record<string, unknown>): void;
}
