import type { Parser, ParserOptions } from "prettier"; import { language } from "./language.js"; type XmlNode = Record; export declare function parseWithXmlPlugin(text: string, options: ParserOptions, xmlParser: Parser): Promise; export declare function loadXmlParser(filepath?: string, loadDirectly?: () => Promise, moduleUrl?: string | URL): Promise>; export declare function parseXml(text: string, options: ParserOptions, loadParser?: (filepath?: string) => Promise>): Promise; export declare const parser: Parser; declare module "../types.js" { interface EmbeddedParsers { [language]: Parser; } } export {};