import { AdvancedCSpellSettingsWithSourceTrace, CSpellSettingsWithSourceTrace, DictionaryDefinitionAugmented, DictionaryDefinitionCustom, DictionaryDefinitionPreferred, Parser } from '@cspell/cspell-types'; import { WeightMap } from 'cspell-trie-lib'; import { OptionalOrUndefined } from '../util/types'; export declare const SymbolCSpellSettingsInternal: unique symbol; export interface CSpellSettingsInternal extends Omit { [SymbolCSpellSettingsInternal]: true; dictionaryDefinitions?: DictionaryDefinitionInternal[]; } export interface CSpellSettingsInternalFinalized extends CSpellSettingsInternal { parserFn: Parser | undefined; finalized: true; ignoreRegExpList: RegExp[]; includeRegExpList: RegExp[]; } type DictionaryDefinitionCustomUniqueFields = Omit; export interface DictionaryDefinitionInternal extends Readonly, Readonly>, Readonly { /** * Optional weight map used to improve suggestions. */ readonly weightMap?: WeightMap | undefined; /** The path to the config file that contains this dictionary definition */ readonly __source?: string | undefined; } export interface DictionaryDefinitionInternalWithSource extends DictionaryDefinitionInternal { readonly __source: string; } export declare function createCSpellSettingsInternal(parts?: OptionalOrUndefined>): CSpellSettingsInternal; export declare function isCSpellSettingsInternal(cs: CSpellSettingsInternal | CSpellSettingsWithSourceTrace | OptionalOrUndefined): cs is CSpellSettingsInternal; export {}; //# sourceMappingURL=CSpellSettingsInternalDef.d.ts.map