declare const ArcIconLibrary_base: { new (...args: any[]): { [x: string]: any; connectedCallback(): void; }; [x: string]: any; }; /** * Switches the icon set every arc-icon on the page resolves against. Renders nothing itself — * put one anywhere in the document and it applies globally. * * @tag arc-icon-library * @status stable * @prop {string} name - Which registered icon library to resolve names against — `phosphor` or `lucide` from `@arclux/arc-ui-icons`, or the name a custom library was registered under. */ export declare class ArcIconLibrary extends ArcIconLibrary_base { name: string; /** * A bare string, not `oneOf` — and this reverses finding #79 deliberately, so * it is worth saying why the reason no longer holds. * * #79 was that `use()` threw on any name it did not know, and this call sits * in `connectedCallback`, where a custom-element reaction's exception is * *reported globally rather than propagated*: `` raised during element upgrade, nothing at the call site * could catch it, and the element's connect was abandoned partway through. * `oneOf(['phosphor', 'lucide'])` fixed that by normalising anything else to * the default before `use()` could see it. * * 4.7 removed the throw — libraries register themselves now, so `use()` takes * a name whether or not its pack has been imported yet, and the complaint * comes from `get()`, which can say what *is* registered. That also makes the * enum wrong rather than merely unnecessary: the set of valid names is open, * and `oneOf` would silently rewrite a consumer's own registered library to * `phosphor` — the same blank-icons-and-silence failure #79 was about, aimed * at the other end. */ static properties: { name: { type: StringConstructor; reflect: boolean; }; }; constructor(); connectedCallback(): void; updated(changed: any): void; /** * An empty `name` selects nothing rather than resetting to a default: the * element is inert until it is told a library, and a page that has already * chosen one should not have it cleared by an `` that has * not been given its attribute yet. */ _select(): void; render(): undefined; } export {};