import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema } from "effect/unstable/httpapi"; import { Schema } from "effect"; import { InternalError } from "@executor-js/sdk/shared"; import { GoogleDiscoveryParseError, GoogleDiscoverySourceError } from "../sdk/errors"; export { HttpApiSchema }; declare const GoogleDiscoveryApiError_base: Schema.Class, import("effect/Cause").YieldableError>; export declare class GoogleDiscoveryApiError extends GoogleDiscoveryApiError_base { } export declare const GoogleDiscoveryGroup: HttpApiGroup.HttpApiGroup<"googleDiscovery", HttpApiEndpoint.HttpApiEndpoint<"probeDiscovery", "POST", "/scopes/:scopeId/google-discovery/probe", HttpApiEndpoint.StringTree; }>>, HttpApiEndpoint.StringTree, HttpApiEndpoint.Json; }>]>>>; readonly queryParams: Schema.optional; }>]>>>; }>>; }>>, HttpApiEndpoint.StringTree, HttpApiEndpoint.Json; readonly service: Schema.String; readonly version: Schema.String; readonly toolCount: Schema.Number; readonly scopes: Schema.$Array; readonly operations: Schema.$Array; }>>; }>>, HttpApiEndpoint.Json, never, never> | HttpApiEndpoint.HttpApiEndpoint<"addSource", "POST", "/scopes/:scopeId/google-discovery/sources", HttpApiEndpoint.StringTree; }>>, HttpApiEndpoint.StringTree, HttpApiEndpoint.Json; }>]>>>; readonly queryParams: Schema.optional; }>]>>>; }>>; readonly namespace: Schema.optional; readonly auth: Schema.Union; }>, Schema.Struct<{ readonly kind: Schema.Literal<"oauth2">; readonly connectionId: Schema.String; readonly clientIdSecretId: Schema.String; readonly clientSecretSecretId: Schema.NullOr; readonly scopes: Schema.$Array; }>]>; }>>, HttpApiEndpoint.StringTree, HttpApiEndpoint.Json>, HttpApiEndpoint.Json, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateSource", "PATCH", "/scopes/:scopeId/google-discovery/sources/:namespace", HttpApiEndpoint.StringTree; namespace: Schema.String; }>>, HttpApiEndpoint.StringTree, HttpApiEndpoint.Json; readonly auth: Schema.optional; }>, Schema.Struct<{ readonly kind: Schema.Literal<"oauth2">; readonly connectionId: Schema.String; readonly clientIdSecretId: Schema.String; readonly clientSecretSecretId: Schema.NullOr; readonly scopes: Schema.$Array; }>]>>; }>>, HttpApiEndpoint.StringTree, HttpApiEndpoint.Json>, HttpApiEndpoint.Json, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getSource", "GET", "/scopes/:scopeId/google-discovery/sources/:namespace", HttpApiEndpoint.StringTree; namespace: Schema.String; }>>, HttpApiEndpoint.StringTree, HttpApiEndpoint.StringTree, HttpApiEndpoint.StringTree, HttpApiEndpoint.Json; }>]>>>; readonly queryParams: Schema.optional; }>]>>>; }>>; readonly service: Schema.String; readonly version: Schema.String; readonly rootUrl: Schema.String; readonly servicePath: Schema.String; readonly auth: Schema.Union; }>, Schema.Struct<{ readonly kind: Schema.Literal<"oauth2">; readonly connectionId: Schema.String; readonly clientIdSecretId: Schema.String; readonly clientSecretSecretId: Schema.NullOr; readonly scopes: Schema.$Array; }>]>; }>; }>>>, HttpApiEndpoint.Json, never, never>, false>;