/** * Minimum scope this MCP needs. * * ga4 ships a mutating tool -- `ga4_create_custom_dimension` calls the GA4 * Admin API `createCustomDimension`, which requires `analytics.edit`. So the * committed default is readonly + edit (both). Everything else is read-only, but * because at least one tool writes, `analytics.edit` is a required grant and is * intentionally NOT dropped. A user who only wants read access can override * `oauth.scope` in their own config.json to `analytics.readonly` alone. */ export declare const DEFAULT_GA4_SCOPE = "https://www.googleapis.com/auth/analytics.readonly https://www.googleapis.com/auth/analytics.edit"; /** Normalize a comma/space/newline-separated scope list to space-separated. */ export declare function normalizeScope(raw: string): string; /** * Resolve the OAuth scope from an already-parsed config object. * Falls back to DEFAULT_GA4_SCOPE when oauth.scope is absent/empty. */ export declare function resolveOAuthScope(config: unknown): string; /** * Read the OAuth scope from a config file on disk (config.json). Returns the * committed default if the file is missing or unparseable. */ export declare function loadOAuthScopeFromFile(filePath: string): string;