export declare class ToolError extends Error { status?: number; constructor(message: string, status?: number); } export declare function getBaseUrl(): string; export declare function buildHeaders(extra?: Record): Record; export declare function postJson(path: string, body: unknown): Promise; export declare function postJsonLong(path: string, body: unknown, timeoutMs?: number): Promise; export declare function getJson(path: string): Promise;