histoire
Version:
A fast story book powered by Vite
14 lines • 779 B
TypeScript
/**
* Emits the story-loading layer of the preview runtime:
* - the Vitest-aware dynamic import wrapper and the variant test session,
* - `loadStoryFile` and its mapped preview cache,
* - the stale-runtime one-shot reload used when the baked metadata predates the
* latest collection,
* - the collected test-definition globals, cleared together with the caches
* when a story is invalidated by HMR.
* @param mountTimeoutMs Maximum time allowed for one variant mount.
* @param lazyStoryEntries Whether the session fetches story entries on demand
* through `loadStoryEntry` (declared by the preamble in that mode).
*/
export declare function previewStoryLoading(mountTimeoutMs: number, lazyStoryEntries?: boolean): string;
//# sourceMappingURL=story-loading.d.ts.map