declare module 'intercept-stdout' { function intercept(onIntercept: (txt: string) => void): (() => void); export = intercept; }