import { ToolResult } from '@olane/o-tool'; import { oRequest } from '@olane/o-core'; import { oLaneTool } from '@olane/o-lane'; import { oNodeToolConfig } from '@olane/o-node'; /** * ExampleTool - A template demonstrating oLane tool best practices * * This tool provides example implementations of common patterns: * - Tool class structure and initialization * - Method definitions and implementations * - Error handling * - Logging * - Configuration management * - Type safety with TypeScript * * Use this as a starting point for creating your own oLane tools. */ export declare class ExampleTool extends oLaneTool { /** * Create a new ExampleTool instance * * @param config - Configuration options for the tool * * @example * ```typescript * const tool = new ExampleTool({ * customOption: 'value', * debugMode: true, * timeout: 60000 * }); * await tool.start(); * ``` */ constructor(config: oNodeToolConfig); /** * Process a message and return a result * * This method demonstrates: * - Parameter extraction and validation * - Error handling with try/catch * - Logging * - Returning structured results * * @param request - The oRequest containing method parameters * @returns ExampleMethodResponse with success status and result/error * * @example * ```typescript * const result = await tool.callMyTool({ * method: 'example_method', * params: { message: 'Hello, oLane!' } * }); * console.log(result.result); // "Processed: Hello, oLane!" * ``` */ _tool_example_method(request: oRequest): Promise; } //# sourceMappingURL=example-tool.tool.d.ts.map