export namespace codes {
    let ERR_INVALID_ARG_TYPE: new (...args: any[]) => Error;
    let ERR_INVALID_MODULE_SPECIFIER: new (...args: any[]) => Error;
    let ERR_INVALID_PACKAGE_CONFIG: new (...args: any[]) => Error;
    let ERR_INVALID_PACKAGE_TARGET: new (...args: any[]) => Error;
    let ERR_MODULE_NOT_FOUND: new (...args: any[]) => Error;
    let ERR_NETWORK_IMPORT_DISALLOWED: new (...args: any[]) => Error;
    let ERR_PACKAGE_IMPORT_NOT_DEFINED: new (...args: any[]) => Error;
    let ERR_PACKAGE_PATH_NOT_EXPORTED: new (...args: any[]) => Error;
    let ERR_UNSUPPORTED_DIR_IMPORT: new (...args: any[]) => Error;
    let ERR_UNKNOWN_FILE_EXTENSION: new (...args: any[]) => Error;
    let ERR_INVALID_ARG_VALUE: new (...args: any[]) => Error;
}
export type ErrnoExceptionFields = {
    errnode?: number | undefined;
    code?: string | undefined;
    path?: string | undefined;
    syscall?: string | undefined;
    url?: string | undefined;
};
export type ErrnoException = Error & ErrnoExceptionFields;
export type MessageFunction = (...args: Array<any>) => string;
