export interface UseTimeTrackerConfig {
    intervalSeconds: number;
    onTimeUpdate: (url: string, timeSpent: number) => void;
    enabled?: boolean;
    getCurrentUrl?: () => string;
    onRouteChange?: (callback: () => void) => () => void;
}
export interface UseTimeTrackerReturn {
    pause: () => void;
    resume: () => void;
    getCurrentUrl: () => string;
    getTimeSpentSinceLastReset: () => number;
}
export declare function useTimeTracker(config: UseTimeTrackerConfig): UseTimeTrackerReturn;
