export type ErrorEvents = { unsupported: UnsupportedErrorEvent[]; }; export type UnsupportedErrorEvent = { /** Package name being imported */ packageName: string; /** Path within the package being imported (`'.'` for root) */ importPath: string; /** * URL that issued the bad request. This will be undefined if the browser didn't set it, or if it * was incorrectly set to the current page URL (most browsers except Firefox do this). */ issuerUrl?: string; /** True if this is a valid import that can be handled by `addPackageOverride` */ fixable?: boolean; /** True if the package exists in the resolve map (even if the import path wasn't valid) */ isValidPackage?: boolean; }; export declare const useErrorEvents: () => ErrorEvents; //# sourceMappingURL=useErrorEvents.d.ts.map