import{type OwnerFetchTarget}from'../../../internal/resource-loader.js';import{type ResourceCacheLease}from'../../../internal/safe-resource-cache.js';export type IconResourceErrorReason='load'|'too-large'|'sanitizer';export declare class IconResourceError extends Error{readonly reason:IconResourceErrorReason;readonly cause?:unknown;constructor(reason:IconResourceErrorReason,cause?:unknown);} /** * Acquires a canonical sanitized SVG. Callers must clone the returned node before changing it; * the retained node is shared by all matching requests and is never inserted into a document. */ export declare function acquireSanitizedIconResource(target:OwnerFetchTarget):ResourceCacheLease;