type AppRegistry = { loadedScripts: Record; components: Record; registerScript: (key: string, url?: string) => void; isScriptLoaded: (key: string) => boolean; registerComponent: (name: string, value: ComponentSpec) => void; getComponent: (name: string) => ComponentSpec; loadScript: (url: string, key?: string) => Promise; loadStyle: (url: string, key?: string) => Promise; loadResources: (urls: string[]) => Promise; }; export declare const app: AppRegistry; interface ComponentSpec { script: (root: HTMLElement, props: any) => void | Function; props?: Record; resources?: string[]; on?: Record void>; meta?: { author?: string; version?: string; description?: string; [key: string]: any; }; } export declare const core: any; /** * props(arg?) * - arg: Element | string (uuid) * Behavior: * - If arg is Element: read `data-props-id` from dataset. * - If arg is string: treat as uuid. * - If no arg: try `window.__idae_componentDataPageUuid`, then fallback to dataset props. * Returns a shallow-cloned plain object with server exports or dataset props. */ export declare function props(arg?: HTMLElement | string): Record; export {};