import { VrtStoryParameters } from "../types.mjs"; //#region src/browser/story-context.d.ts declare const GLOBAL_STORY_CONTEXT_KEY = "__VRT_STORY_CONTEXT__"; type VrtGlobalStoryContext = { storyId?: string; parameters?: VrtStoryParameters; }; type StoryContextResult = { isStory: boolean; storyId: string | undefined; parameters: VrtStoryParameters; }; declare function getStoryContext(ctx: unknown): StoryContextResult; /** * The global context must not leak into the next test: a non-story test * following a story in the same file would otherwise be captured too. */ declare function clearGlobalStoryContext(): void; //#endregion export { GLOBAL_STORY_CONTEXT_KEY, StoryContextResult, VrtGlobalStoryContext, clearGlobalStoryContext, getStoryContext };