/** * Google Analytics Data API (GA4) — read-only reporting MCP tools. * * Wraps the googleapis `analyticsdata` v1beta client and exposes ONLY the * read-only report methods (`runReport`, `runRealtimeReport`). There are no * create/update/delete tools and no `confirm` gate because reporting never * mutates GA4 state. These power "intent-vs-reality" reconciliation in the * audit: comparing the events a container is *configured* to send against the * events GA4 actually *reports*. * * AUTH: Requires the `https://www.googleapis.com/auth/analytics.readonly` scope * on the active credentials — the SAME scope the GA4 Admin tools use, so no * additional consent is needed. A 403 mentioning scope means re-run * `npm run auth:google`. * * The tool inputs cover the common reporting shape (dimensions, metrics, date * ranges, row limit, ordering). Advanced features (pivots, cohorts, funnels) * are intentionally NOT exposed here — they are documented gaps, not stubs. */ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import type { Ga4DataClient } from '../utils/ga4Client.js'; export declare function registerGa4DataTools(server: McpServer, getClient: () => Ga4DataClient): void; //# sourceMappingURL=ga4Data.d.ts.map