astro-ghostcms/.pnpm-store/v3/files/ca/71844be182092f7689736e5b5b8...

12 lines
705 B
Plaintext

import { ServiceEnvironment, ServicePlugin } from '@volar/language-service';
import type * as ts from 'typescript';
import type { ServerProject } from '../types';
import { UriMap } from '../utils/uriMap';
import type { ServerContext, ServerOptions } from '../server';
export interface TypeScriptServerProject extends ServerProject {
askedFiles: UriMap<boolean>;
tryAddFile(fileName: string): void;
getParsedCommandLine(): ts.ParsedCommandLine;
}
export declare function createTypeScriptServerProject(tsconfig: string | ts.CompilerOptions, context: ServerContext, serviceEnv: ServiceEnvironment, serverOptions: ServerOptions, servicePlugins: ServicePlugin[]): Promise<TypeScriptServerProject>;