UNPKG

histoire

Version:

A fast story book powered by Vite

8 lines • 653 B
import type { ServerStory, ServerStoryFile } from '@histoire/shared'; import type { Context } from '../context.js'; import type { StoryCollectionOutcome } from './outcome.js'; /** Normalize layout while retaining whether author/project supplied it. */ export declare function finalizeCollectedStoryFile(storyFile: ServerStoryFile, ctx: Context, storyData?: ServerStory): void; /** Applies a cached collection outcome to a story file, as if it had just been collected. */ export declare function restoreCollectedStoryFile(storyFile: ServerStoryFile, ctx: Context, outcome: StoryCollectionOutcome | undefined): void; //# sourceMappingURL=finalize.d.ts.map