import type { ComponentStyles } from './types.js'; export declare function registerTemplatesAndStyles(data: { templates?: Record; templateFunctions?: Record; componentStyles?: ComponentStyles; inventory?: string; }, nonce: string, updateInventory: (inv: string) => void): Promise | undefined; export declare function registerTemplatesAndStyles(data: { templates?: Record; templateFunctions?: Record; componentStyles?: ComponentStyles; inventory?: string; }, nonce: string, injectedStyles: Set, updateInventory: (inv: string) => void): Promise | undefined; export declare function registerInitialTemplatesAndStyles(templates: Record, componentStyles: ComponentStyles): void; export declare function injectCssLinks(data: { css?: string[]; }, injectedCss: Set): void; export declare function waitForTemplateReadiness(ready: Promise, signal?: AbortSignal): Promise; export declare function fetchComponentTemplates(tags: string[], inventoryHex: string, templateEndpoint: string, nonce: string, injectedStylesOrUpdate: Set | ((inv: string) => void), maybeUpdateInventory?: (inv: string) => void): Promise; export declare function notifyTemplatesRegistered(templates: Record | undefined, componentStyles?: ComponentStyles): Promise | undefined;