UNPKG

cspell-config-lib

Version:
16 lines 702 B
import type { CSpellSettings } from '@cspell/cspell-types'; import { type Document as YamlDocument } from 'yaml'; import { CSpellConfigFile } from '../CSpellConfigFile.js'; import type { TextFile } from '../TextFile.js'; export declare class CSpellConfigFileYaml extends CSpellConfigFile { #private; readonly url: URL; readonly yamlDoc: YamlDocument; readonly indent: number; constructor(url: URL, yamlDoc: YamlDocument, indent: number); get settings(): CSpellSettings; addWords(wordsToAdd: string[]): this; serialize(): string; } export declare function parseCSpellConfigFileYaml(file: TextFile): CSpellConfigFileYaml; //# sourceMappingURL=CSpellConfigFileYaml.d.ts.map