UNPKG

@stacksjs/stx

Version:

A performant UI Framework. Powered by Bun.

17 lines 633 B
import type { ServerStory } from '../types'; /** * Parse a story file and extract story definitions */ export declare function parseStoryFile(filePath: string): Promise<ServerStory | null>; /** * Parse story content and extract story definitions */ export declare function parseStoryContent(content: string, filePath: string): ServerStory | null; /** * Extract script content from a story file */ export declare function extractScriptContent(content: string): string; /** * Extract template content from a story file (everything outside script tags) */ export declare function extractTemplateContent(content: string): string;