import { VueSfcAst } from '../../ast.js'; export interface StoryNode { name: string; exportName?: string; props: Record; template?: string; } export interface DefineMetaNode { properties: Record; renderTemplate?: string; /** * The raw source code of the meta object (for code generation) * This is the object literal string that can be used in generated code */ rawSource?: string; /** * The name of the render function if render is a function reference */ renderFunctionName?: string; } export interface ExtractedVueNodes { defineMeta: DefineMetaNode | null; stories: StoryNode[]; } /** * Extract nodes from Vue SFC AST * * Uses the template AST from @vue/compiler-sfc for reliable extraction */ export declare function extractVueASTNodes({ ast, filename, }: { ast: VueSfcAst; filename: string; }): Promise; //# sourceMappingURL=nodes.d.ts.map