import { ParsedTypings } from '../shared/types_domain_specific'; import { ParserTypings, ParsingRecordDataType } from './types_parser'; /** * @perf use collections, benchmark * @note we do not validate invalid quotes (missing close) */ export declare const splitArgs: (input: string, sep?: RegExp | string) => string[]; /** @note not checking invalid format of nested parens */ export declare const flattenStartOfAuthority: (input: string) => string; export declare const removeComments: (text: string) => string; export declare const transformInputText: (text: string) => [string, string[]]; export declare type ZipMapperFnType = (value: T & Omit, parser: ParserTypings.Parser) => T; export declare type ZipObjFnType = (x: ParsingRecordDataType, parser: ParserTypings.Parser) => T; export declare const zipArrayToObj: (template: string, mapper?: ZipMapperFnType) => ZipObjFnType; export declare const getRecordNameUsingOrigin: (name: string, zoneObj: ParsedTypings.Obj) => string; //# sourceMappingURL=utils_parser.d.ts.map