UNPKG

histoire

Version:

A fast story book powered by Vite

12 lines • 681 B
import type { ServerStoryFile } from '@histoire/shared'; import type { Context } from '../../context.js'; import type { ContentReader, StoryContentEntry } from './types.js'; export { CatalogContentChangedError, isPathWithinRoot, MAX_CONTENT_BYTES, readRegisteredText } from './files.js'; export type { ContentIdentity } from './files.js'; export { hashContent } from './hash.js'; /** Captures source/docs availability without storing every physical source in memory. */ export declare function indexStoryContent(root: string, file: ServerStoryFile, options?: { readText?: ContentReader; context?: Context; }): Promise<StoryContentEntry>; //# sourceMappingURL=index.d.ts.map