type SedAddr = ['line', string] | ['last', ''] | ['regex', string]; export interface SedCommand { cmd: string; addrStart?: SedAddr | null; addrEnd?: SedAddr | null; negate?: boolean; pattern?: string; replacement?: string; exprFlags?: string; text?: string; label?: string; } export declare function parseOneCommand(rest: string): [SedCommand, string]; export declare function parseProgram(expr: string): SedCommand[]; export declare function breToEre(pat: string): string; export declare function executeProgram(text: string, commands: SedCommand[], suppress?: boolean, extended?: boolean): string; export {}; //# sourceMappingURL=sed_script.d.ts.map