UNPKG

yaml-language-server

Version:
14 lines (13 loc) 727 B
import type { Connection } from 'vscode-languageserver/node'; import type { YAMLSchemaService } from '../../languageservice/services/yamlSchemaService'; import type { SettingsState } from '../../yamlSettings'; import type { JSONSchemaDescription, JSONSchemaDescriptionExt } from '../../requestTypes'; export declare class JSONSchemaSelection { private readonly schemaService; private readonly yamlSettings?; private readonly connection?; constructor(schemaService: YAMLSchemaService, yamlSettings?: SettingsState, connection?: Connection); getSchemas(docUri: string): Promise<JSONSchemaDescription[]>; private getSchemasForFile; getAllSchemas(docUri: string): Promise<JSONSchemaDescriptionExt[]>; }