import type { HostElement } from "../../Template/x-x.types"; export declare function withHost(host: HostElement, renderFn: (...args: any[]) => any): any; /** * Get the current host element (XX custom element instance) * * Returns the XX custom element instance with all its runtime properties * including _setupStack, _setupIndex, state, cleanups, scopes, etc. * * @param throwError - Whether to throw an error if no host is found (default: true) * @returns The current host element, or null if not found and throwError is false */ export declare function getCurrentHost(throwError?: boolean): HostElement | null; //# sourceMappingURL=hostContext.d.ts.map