histoire
Version:
A fast story book powered by Vite
13 lines • 645 B
TypeScript
/**
* Marks one trusted generated story object as having no test registrations.
* @param story The generated story options object.
* @returns The same object, so story identity stays unchanged.
*/
export declare function markGeneratedStoryKnownEmpty<T extends object>(story: T): T;
/**
* Checks private generation metadata without adding fields to the story object.
* @param story The story object captured from the generated module.
* @returns Whether Histoire itself marked this exact object.
*/
export declare function isGeneratedStoryKnownEmpty(story: unknown): story is object;
//# sourceMappingURL=generated-story-metadata.d.ts.map