export type { TourStep } from './ui-app.types';
/**
* SvTour - a guided product tour / onboarding: it spotlights each step's target
* element (a dimmed backdrop with a cut-out), anchors a popover with the step's
* title/content near it, and steps Back / Next / Done. Arrow keys navigate,
* Escape skips. Portalled to
. Controlled via `open`.
*
* ```svelte
*
* ```
*/
import type { TourStep } from './ui-app.types';
import type { EditorDir } from './editor-contract';
type Props = {
steps: ReadonlyArray;
open?: boolean;
onFinish?: () => void;
onSkip?: () => void;
onStep?: (index: number) => void;
/** Text direction; under `'rtl'` the Left/Right advance/back keys swap. */
dir?: EditorDir;
};
declare const SvTour: import("svelte").Component;
type SvTour = ReturnType;
export default SvTour;