export declare const patterns: { suffixComments: RegExp; prefixComments: RegExp; dash: RegExp; whitespace: RegExp; }; /** * Split the given string into an argv * */ export interface Split { A: string[]; endIndices: number[]; } export declare const _split: (str: string, removeOuterQuotes?: boolean, returnIndices?: boolean, removeInlineOuterQuotes?: boolean, splitBy?: string, startIdx?: number, endIdx?: number) => Split | string[]; export declare const split: (str: string, removeOuterQuotes?: boolean, removeInlineOuterQuotes?: boolean, splitBy?: string, startIdx?: number, endIdx?: number) => string[]; /** Look for cmd1; cmd2 patterns */ export declare function semiSplit(command: string): string[];