/** * Demo API Client * * Returns embedded sample data for all Metrx MCP tools. * Used with `--demo` flag so users can explore tools without an API key. * * Extends MetrxApiClient and overrides get/post/patch to return * static fixtures, keyed by API path. No network calls are made. */ import type { ApiResponse } from '../types.js'; /** * DemoApiClient provides static demo data for all Metrx MCP tools. * Implements the same interface as MetrxApiClient via duck typing. * * Usage: * const client = new DemoApiClient(); * // Pass to registerXTools(server, client as any) */ export declare class DemoApiClient { /** * Simulated GET request — returns demo data based on path. */ get(path: string, params?: Record): Promise>; /** * Simulated POST request — returns demo confirmation data. */ post(path: string, body?: Record): Promise>; /** * Simulated PATCH request — returns demo confirmation data. */ patch(path: string, body?: Record): Promise>; /** * Simulated ping — always succeeds in demo mode. */ ping(): Promise<{ ok: boolean; error?: string; }>; private routeRequest; private handleDashboardGet; private resolve; private error; } //# sourceMappingURL=demo-client.d.ts.map