export declare const VERSION: string; export declare class TecrubeError extends Error { /** HTTP status; 0 when the server could not be reached. */ status: number; /** Parsed answer from the server, when there was one. */ body: unknown; constructor(status: number, message: string, body?: unknown); } export interface TecrubeOptions { baseUrl?: string; mcpUrl?: string; timeoutMs?: number; maxRetries?: number; } export interface McpTool { name: string; title?: string; description: string; inputSchema: Record; annotations?: { title?: string; readOnlyHint?: boolean; destructiveHint?: boolean; idempotentHint?: boolean; openWorldHint?: boolean }; } export declare class Tecrube { baseUrl: string; mcpUrl: string; timeoutMs: number; maxRetries: number; constructor(apiKey: string, options?: TecrubeOptions); get(path: string, params?: Record): Promise; post(path: string, body?: unknown): Promise; patch(path: string, body?: unknown): Promise; put(path: string, body?: unknown): Promise; delete(path: string): Promise; request(method: string, path: string, options?: { params?: Record; body?: unknown }): Promise; openapi(): Promise>; tools(): Promise; callTool(name: string, args?: Record): Promise; }