export interface Location { pathname: Pathname; search: Search; state: S; hash: Hash; key?: LocationKey | undefined; } export interface RouterLocationState { nextPathname?: string; nextSearch?: string; background?: Location; routeWithBackground?: string; update?: { dataTable?: boolean; }; scrollTop?: boolean; from?: Location; } export declare type Pathname = string; export declare type Search = string; export declare type Hash = string; export declare type LocationState = unknown; export declare type LocationKey = string; export interface LocationDescriptorObject { pathname?: Pathname | undefined; search?: Search | undefined; state?: S | undefined; hash?: Hash | undefined; key?: LocationKey | undefined; }