///
import type { TourActions, TourStatus, TourStep, TourTransition } from './types';
export interface TourContextValue {
steps: TourStep[];
index: number;
step: TourStep | null;
open: boolean;
status: TourStatus;
anchor: Element | null;
spotlightElement: Element | null;
popoverOpen: boolean;
disableOverlay: boolean;
transition: TourTransition;
revealed: boolean;
actions: TourActions;
}
export declare const TourContext: import("react").Context;
export declare function useTourContext(part: string): TourContextValue;
export interface UseTourReturn {
open: boolean;
status: TourStatus;
index: number;
totalSteps: number;
isFirstStep: boolean;
isLastStep: boolean;
/** Active step, or null while the tour is closed. */
step: TourStep | null;
actions: TourActions;
}
/**
* Access the active tour from anywhere inside ``, e.g. to build fully
* custom popover content or to drive the tour from the spotlighted UI.
*/
export declare function useTour(): UseTourReturn;
//# sourceMappingURL=tour-context.d.ts.map