/** * SimpleNodeBuilder - Fluent API for creating single-node tests * * @example * ```typescript * const node = await new SimpleNodeBuilder(MyTool) * .withConfig({ apiKey: 'test' }) * .withAddress('o://test-tool') * .build(env); * ``` */ import type { oNodeAddress, oNodeTool } from '@olane/o-node'; import type { TestEnvironment } from '../test-environment.js'; import type { TestNodeConfig } from '../test-environment.js'; export declare class SimpleNodeBuilder { private nodeClass; private config; private autoStart; constructor(NodeClass: new (config: any) => T); /** * Set node configuration */ withConfig(config: TestNodeConfig): this; /** * Set node address */ withAddress(address: oNodeAddress): this; /** * Set node description */ withDescription(description: string): this; /** * Set leader reference */ withLeader(leader: oNodeAddress | null): this; /** * Set parent reference */ withParent(parent: oNodeAddress | null): this; /** * Control automatic start */ withAutoStart(autoStart: boolean): this; /** * Build and create the node */ build(env: TestEnvironment): Promise; } //# sourceMappingURL=simple-node-builder.d.ts.map