histoire
Version:
A fast story book powered by Vite
16 lines • 767 B
TypeScript
import type { Context } from '../../context.js';
/** Rendered transform output, tied to exact physical source bytes. */
interface InlineDocs {
/** HTML from configured existing Markdown renderer. */
html: string;
/** Original Markdown text. */
text: string;
/** Full story source digest at transform. */
sourceSha256: string;
}
/** Captures inline docs during normal transformation, never importing story later. */
export declare function captureInlineDocs(ctx: Context, path: string, docs: InlineDocs): void;
/** Returns only docs transformed from this completed source version. */
export declare function getInlineDocs(ctx: Context, path: string, sourceSha256: string): InlineDocs | undefined;
export {};
//# sourceMappingURL=inline.d.ts.map