import { type ReactNode } from 'react'; import { type JourneyDef } from '../../core'; import type { TagValue } from '../../core/types'; type JourneyScopeDef = JourneyDef | { config: JourneyDef; }; /** * Opens a journey while the subtree is mounted; Excludes on unmount. * `name` is the lifecycle key — changing it excludes the previous instance * and opens a new one. Other config fields and `tags` update the open instance * in place (timeouts re-arm; they do not restart). * * Pass a {@link JourneyDef} (``) or spread a handle * (`` reads `handle.config`). * * React 18 Strict Mode (development) remounts once: expect an `excluded` emission * then a fresh open. Production single-mount does not. */ export declare function JourneyScope({ tags, children, ...rest }: JourneyScopeDef & { tags?: Record; children: ReactNode; }): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=scope.d.ts.map