17 lines
651 B
Plaintext
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 {};
|