import { Component } from './component'; import { TosiPackagedComponent } from './make-component'; /** * Why a blueprint `src` was refused, or `null` if it's allowed. Exported for * testing and for apps that want to pre-flight a URL through the same rules. */ export declare function blueprintSrcRefusal(src: string, el?: Element): string | null; /** * Replace the module loader (mainly for testing failure/retry paths — the * default uses dynamic `import()`, which tests cannot intercept). */ export declare function setModuleLoader(loader: (src: string) => Promise): void; export declare class Blueprint extends Component { static preferredTagName: string; static lightStyleSpec: { ':host': { display: string; }; }; static initAttributes: { tag: string; src: string; property: string; }; tag: string; src: string; property: string; loaded?: TosiPackagedComponent; blueprintLoaded: (_pkg: TosiPackagedComponent) => void; packaged(): Promise; } export declare const tosiBlueprint: import("./xin-types").ElementCreator; export declare class BlueprintLoader extends Component { static preferredTagName: string; static lightStyleSpec: { ':host': { display: string; }; }; allLoaded: () => void; private load; connectedCallback(): void; } export declare const tosiLoader: import("./xin-types").ElementCreator; /** * @deprecated Use `tosiBlueprint()`. 1.7's warning never named a removal * version, so this stays through 1.x; it now creates a ``, * which is the element that actually hydrates. Removed in 2.0. */ export declare const blueprint: typeof tosiBlueprint; /** * @deprecated Use `tosiLoader()`. Same reasoning as `blueprint` above. */ export declare const blueprintLoader: typeof tosiLoader;