kjelsrud.dev/node_modules/@astrojs/language-server/dist/importPackage.d.ts

10 lines
664 B
TypeScript
Raw Normal View History

2023-07-19 21:31:30 +02:00
import type * as svelte from '@astrojs/svelte/dist/editor.cjs';
import type * as vue from '@astrojs/svelte/dist/editor.cjs';
import type * as prettier from 'prettier';
export declare function setIsTrusted(_isTrusted: boolean): void;
export declare function getPackagePath(packageName: string, fromPath: string[]): string | undefined;
export declare function importSvelteIntegration(fromPath: string): typeof svelte | undefined;
export declare function importVueIntegration(fromPath: string): typeof vue | undefined;
export declare function importPrettier(fromPath: string): typeof prettier;
export declare function getPrettierPluginPath(fromPath: string): string;