import { ComponentConfig, RegisterComponentsResult } from '../ladrillos'; import { LazyStrategy } from '../lazy'; import { createRefsProxy } from './refsProxy'; export { createRefsProxy }; /** * Creates framework helpers bound to a specific component's base URL. * This ensures relative paths like "./buttons.html" resolve correctly * relative to the component that calls registerComponent. * * @param componentUrl - The absolute URL of the component (e.g., "http://localhost/header/header.html") * @returns Object containing bound helper functions */ export declare function createFrameworkHelpers(componentUrl: string): { registerComponent: (name: string, path: string, useShadowDOM?: boolean, lazy?: boolean | LazyStrategy) => Promise; registerComponents: (configs: ComponentConfig[] | Record>) => Promise; $use: (path: string, useShadowDOM?: boolean, lazy?: boolean | LazyStrategy) => Promise; }; /** * Names of all framework helpers (for Function parameter lists) */ export declare const frameworkHelperNames: string[]; /** * Default helpers for entry point usage (resolve relative to page URL). * Inside components, use createFrameworkHelpers(componentUrl) instead. */ export declare function getFrameworkHelperValues(): ((...args: any[]) => any)[]; type Helpers = ReturnType; export declare const registerComponent: (...args: Parameters) => Promise; export declare const registerComponents: (...args: Parameters) => Promise; export declare const $use: (...args: Parameters) => Promise;