export default function cleanStack(stack: any, { pretty, basePath, pathFilter }?: { pretty?: boolean | undefined; }): string | undefined;