export declare const extendError: (msg: string, err: any) => Error;