import { oToolBase } from '@olane/o-tool'; /** * withLeader mixin - adds leader node capabilities to any tool base class * This mixin pattern allows leader functionality to be composed with different * base classes (e.g., lane-based tools, or other tool implementations) * * Leader nodes serve as network routers and provide: * - Registry management for network nodes * - Search and gateway routing resolution * - Network join request handling * - Unrestricted peer dialing capabilities * * @example * ```typescript * // Apply to lane tool * export class oLeaderNode extends withLeader(oLaneTool) {} * * // Future: Apply to other tool bases * export class CustomLeaderNode extends withLeader(CustomTool) {} * ``` */ export declare function withLeader oToolBase>(Base: T): T; //# sourceMappingURL=leader.mixin.d.ts.map