import type { Trait } from "@tsimpl/core"; import type { BoundTrait } from "../types/bound-trait.js"; import type { TraitDescriptor } from "../types/trait-descriptor.js"; import type { TraitHost } from "../types/trait-host.js"; export declare function traitProxy(self: TSelf, traitDescriptor: TraitDescriptor, options?: { preferTrait?: boolean; }): TSelf & BoundTrait & TraitHost;