/**
 * Slice provided string with preservation of eventual ANSI formatting
 */
declare function slice(str: string, begin?: number, end?: number): string;
export = slice;
