interface PropertiesOptions { /** Default properties */ defaults?: Properties | Map | null; /** Variable regular expression */ variableRegex?: RegExp | null; /** Line feed for stringify (default: \n) */ lineFeed?: string; /** Specify separators used to split key-value pairs, default is [':', '='] */ separators?: string[]; /** Specify comment prefixes, default is ['#', '!'] */ commentPrefixes?: string[]; } export interface PropertiesConfig extends PropertiesOptions { props?: Map; raw?: Map; } export declare class Properties extends Map { /** * @deprecated Use `setProperty()` instead */ set: (key: string, value: string) => this; /** * @deprecated Use `getProperty()` instead */ get: (key: string) => string | undefined; private readonly raw; private readonly options; constructor({ defaults, variableRegex, lineFeed, separators, commentPrefixes, props, raw }?: PropertiesConfig); get [Symbol.toStringTag](): string; setProperty(key: string, value: string): this; getProperty(key: string, defaultValue?: T): string | undefined | T; getNumber(key: string, defaultValue?: number): number; getBoolean(key: string, defaultValue?: boolean): boolean; remove(key: string, specifiedValue?: string): boolean; isEmpty(): boolean; replace(key: string, oldValue: string, newValue?: string): boolean; clone(): Properties; parse(content: string, clear?: boolean): void; stringify(comments?: string, escapeUnicode?: boolean): string; toString(): string; } export {};