export interface Location {
    pathname: string;
    search: string;
    hash: string;
    state: any;
    key: string;
}
/**
 * Hook to get current location
 * Detects and uses React Router when available, falls back to native browser location
 */
export declare const useLocation: () => Location;
/**
 * Hook to get history functions
 * Detects and uses React Router history when available, falls back to browser history
 */
export declare const useHistory: () => {
    back: () => void;
    forward: () => void;
    replace: (to: string, state?: any) => void;
    push: (to: string, state?: any) => void;
};
