import type { Children, Component } from "@alloy-js/core"; export interface TypeRefContextProps { /** * Children */ children: Children; } /** * Set the current context of reference to be type reference. * * @remarks * References used inside the children of this component will be treated as type reference {@link Reference}. * * Prefer using {@link ensureTypeRefContext} when wrapping the whole component to reduce tree nodes. */ export declare const TypeRefContext: ({ children }: TypeRefContextProps) => Children; /** Ensure the current component is inside a type ref context. * If not it will wrap in a {@link TypeRefContext} component. * If yes it will not add an extra node and return the original component. */ export declare function ensureTypeRefContext(Comp: Component): Component; //# sourceMappingURL=TypeRefContext.d.ts.map