UNPKG

histoire

Version:

A fast story book powered by Vite

10 lines • 564 B
import type { ASTNode } from 'magicast'; import type { ObjectNode, ParsedConfig, ResolvedNode } from './types.js'; /** Follows one local const, refusing imports, mutable variables, and alias chains. */ export declare function resolveLocalNode(parsed: ParsedConfig, input: ASTNode, followed?: boolean): ResolvedNode; /** Finds the supported default export/CJS assignment and its object literal. */ export declare function locateConfigObject(parsed: ParsedConfig): { object?: ObjectNode; issue?: ResolvedNode['issue']; }; //# sourceMappingURL=locate.d.ts.map