astro-ghostcms/.pnpm-store/v3/files/d5/92e7e9164c239dca8487ec040a7...

12 lines
475 B
Plaintext

import type { VirtualCode } from '@volar/language-core';
import type ts from 'typescript';
import * as html from 'vscode-html-languageservice';
export declare function parseHTML(snapshot: ts.IScriptSnapshot, frontmatterEnd: number): {
virtualCode: VirtualCode;
htmlDocument: html.HTMLDocument;
};
/**
* scan the text and remove any `>` or `<` that cause the tag to end short
*/
export declare function preprocessHTML(text: string, frontmatterEnd?: number): string;