import type { HighlightStep, ModalStep, TooltipStep } from '../../types';
export type Step = TooltipStep | HighlightStep | ModalStep;
export declare const ACTIVE_TOUR_KEY = "syntro_active_tour";
export interface ActiveTourState {
    tourId: string;
    stepId: string;
    timestamp: number;
}
export declare const TOUR_STATE_EXPIRY_MS: number;
/** Get active tour state from localStorage (returns null if expired) */
export declare function getActiveTourState(): ActiveTourState | null;
/** Save active tour state to localStorage with timestamp */
export declare function setActiveTourState(state: Omit<ActiveTourState, 'timestamp'> | null): void;
/** Check if a step's route matches the current page */
export declare function stepRouteMatches(step: Step, path: string): boolean;
/**
 * Watch for route changes in SPAs.
 * Uses NavigationMonitor subscription if available (single patch point),
 * otherwise falls back to direct History API patching (legacy).
 */
export declare function watchRouteChanges(callback: (newPath: string) => void, subscribeNavigation?: (cb: (url: string, method: string) => void) => () => void): () => void;
