astro-ghostcms/.pnpm-store/v3/files/1d/e4ef29faad362f7d5f030b2b149...

17 lines
651 B
Plaintext

import { type CodeInformation, type LanguagePlugin, type Mapping, type VirtualCode } from '@volar/language-core';
import type ts from 'typescript';
export declare function getSvelteLanguageModule(): LanguagePlugin<SvelteVirtualCode>;
declare class SvelteVirtualCode implements VirtualCode {
fileName: string;
snapshot: ts.IScriptSnapshot;
id: string;
languageId: string;
mappings: Mapping<CodeInformation>[];
embeddedCodes: VirtualCode[];
codegenStacks: never[];
constructor(fileName: string, snapshot: ts.IScriptSnapshot);
update(newSnapshot: ts.IScriptSnapshot): void;
private onSnapshotUpdated;
}
export {};