export interface IError extends Error { code?: number; } export declare function isIError(arg: unknown): arg is IError; export declare function printError(error?: IError): string | undefined;