import { Effect, Option } from "effect"; import { GoogleDiscoveryParseError } from "./errors"; type JsonObject = Record; export declare const extractGoogleDiscoveryManifest: (discoveryDocument: string | JsonObject) => Effect.Effect<{ readonly version: string; readonly schemaDefinitions: { readonly [x: string]: unknown; }; readonly title: Option.Option; readonly oauthScopes: Option.Option<{ readonly [x: string]: string; }>; readonly methods: readonly { readonly description: Option.Option; readonly inputSchema: Option.Option; readonly outputSchema: Option.Option; readonly binding: { readonly method: "post" | "options" | "delete" | "get" | "put" | "patch" | "head"; readonly parameters: readonly { readonly name: string; readonly required: boolean; readonly description: Option.Option; readonly schema: Option.Option; readonly location: "query" | "path" | "header"; readonly repeated: boolean; }[]; readonly pathTemplate: string; readonly hasBody: boolean; }; readonly scopes: readonly string[]; readonly toolPath: string; }[]; readonly service: string; readonly rootUrl: string; readonly servicePath: string; }, GoogleDiscoveryParseError, never>; export {};