export interface LocationLike {
    href: string;
    origin: string;
    host: string;
    hostname: string;
    port: string;
    protocol: string;
    pathname: string;
    search: string;
    hash: string;
}
/**
 * 监听 location 变化，返回当前 location 状态
 */
export declare function useLocationState(): LocationLike;
export default useLocationState;
