import type { CurrentTourStep, TourStep } from '../../../types/tour'; /** * Filter steps based on their condition functions * Returns only steps where condition() returns true (or condition is undefined) * * @param steps - Array of tour steps * @returns Filtered array of visible steps */ export declare function filterVisibleSteps(steps: TourStep[]): TourStep[]; /** * Find a step's target element in the document * * @param target - The target's data-tip-id value * @returns The element, or null if it is not in the DOM */ export declare function resolveTargetElement(target: string): HTMLElement | null; /** * Resolve step content - handles `text`, string content and function content * * `text` takes precedence and is HTML-escaped; `content` is passed through as the raw * HTML it is documented to be. * * @param step - The tour step * @param stepInfo - Current step metadata (without content) * @returns Resolved content string */ export declare function resolveStepContent(step: TourStep, stepInfo: Omit): string; /** * Build CurrentTourStep data for a given index * * @param visibleSteps - Array of visible (filtered) steps * @param index - Index of the step to build * @returns CurrentTourStep data or null if index is invalid */ export declare function buildCurrentStep(visibleSteps: TourStep[], index: number): CurrentTourStep | null; /** * Calculate progress info for the tour * * @param isActive - Whether the tour is active * @param currentIndex - Current step index (0-based) * @param totalSteps - Total number of visible steps * @returns Progress object with current (1-based) and total */ export declare function calculateProgress(isActive: boolean, currentIndex: number, totalSteps: number): { current: number; total: number; }; //# sourceMappingURL=tourSteps.d.ts.map