import { IKeyValueParser } from "./i-key-value-parser"; import { IKeyValueParserConfig } from "./i-key-value-parser-config"; /** * A service that can parse values provided to attributes */ export declare class KeyValueParser implements IKeyValueParser { private readonly config; /** * Matches the raw content to ignore * @type {Parser} */ private readonly ignore; /** * Matches the raw content representing a newline * @type {Parser} */ private readonly newline; /** * Matches the raw content representing an assignment * @type {Parser} */ private readonly assignment1; /** * Matches the raw content representing an assignment * @type {Parser} */ private readonly assignment2; /** * Matches the raw content representing a separator * @type {Parser} */ private readonly separator1; /** * Matches the raw content representing a separator * @type {Parser} */ private readonly separator2; constructor(config: IKeyValueParserConfig); /** * Parses the given value * @param {string} content * @returns {string|T} */ parse(content: string): string | T; /** * Parses the given value * @param {Parser} value */ private getLexeme; }