import { Location } from '@remix-run/router';
type HistoryState = {
    usr: any;
    key?: string;
    idx: number;
};
/**
 * For browser-based histories, we combine the state and key into an object
 */
export declare function getHistoryState(location: Location, index: number): HistoryState;
export {};
//# sourceMappingURL=getHistoryState.d.ts.map