/** * Pie Chart Parser * * Uses @mermaid-js/parser (Langium-based) for parsing pie charts. * This is an async parser since Langium parsing is async. */ import type { PieAST } from '../types/pie.js'; /** * Detects if the input is a pie chart diagram */ export declare function isPieDiagram(input: string): boolean; /** * Parses a Mermaid pie chart into an AST * * @param input - The Mermaid pie chart syntax * @returns Promise resolving to PieAST * @throws Error if parsing fails */ export declare function parsePie(input: string): Promise; /** * Synchronous detection wrapper for compatibility */ export declare function detectPie(input: string): boolean; //# sourceMappingURL=pie-parser.d.ts.map