export declare function hasOwnErrorCode(error: unknown, code: string): error is NodeJS.ErrnoException;