import { Schema } from "effect"; export declare const GoogleDiscoveryHttpMethod: Schema.Literals; export type GoogleDiscoveryHttpMethod = typeof GoogleDiscoveryHttpMethod.Type; export declare const GoogleDiscoveryParameterLocation: Schema.Literals; export type GoogleDiscoveryParameterLocation = typeof GoogleDiscoveryParameterLocation.Type; export declare const GoogleDiscoveryParameter: Schema.Struct<{ readonly name: Schema.String; readonly location: Schema.Literals; readonly required: Schema.Boolean; readonly repeated: Schema.Boolean; readonly description: Schema.OptionFromOptional; readonly schema: Schema.OptionFromOptional; }>; export type GoogleDiscoveryParameter = typeof GoogleDiscoveryParameter.Type; export declare const GoogleDiscoveryMethodBinding: Schema.Struct<{ readonly method: Schema.Literals; readonly pathTemplate: Schema.String; readonly parameters: Schema.$Array; readonly required: Schema.Boolean; readonly repeated: Schema.Boolean; readonly description: Schema.OptionFromOptional; readonly schema: Schema.OptionFromOptional; }>>; readonly hasBody: Schema.Boolean; }>; export type GoogleDiscoveryMethodBinding = typeof GoogleDiscoveryMethodBinding.Type; export declare const GoogleDiscoveryManifestMethod: Schema.Struct<{ readonly toolPath: Schema.String; readonly description: Schema.OptionFromOptional; readonly binding: Schema.Struct<{ readonly method: Schema.Literals; readonly pathTemplate: Schema.String; readonly parameters: Schema.$Array; readonly required: Schema.Boolean; readonly repeated: Schema.Boolean; readonly description: Schema.OptionFromOptional; readonly schema: Schema.OptionFromOptional; }>>; readonly hasBody: Schema.Boolean; }>; readonly inputSchema: Schema.OptionFromOptional; readonly outputSchema: Schema.OptionFromOptional; readonly scopes: Schema.$Array; }>; export type GoogleDiscoveryManifestMethod = typeof GoogleDiscoveryManifestMethod.Type; export declare const GoogleDiscoveryManifest: Schema.Struct<{ readonly title: Schema.OptionFromOptional; readonly service: Schema.String; readonly version: Schema.String; readonly rootUrl: Schema.String; readonly servicePath: Schema.String; readonly oauthScopes: Schema.OptionFromOptional>; readonly schemaDefinitions: Schema.$Record; readonly methods: Schema.$Array; readonly binding: Schema.Struct<{ readonly method: Schema.Literals; readonly pathTemplate: Schema.String; readonly parameters: Schema.$Array; readonly required: Schema.Boolean; readonly repeated: Schema.Boolean; readonly description: Schema.OptionFromOptional; readonly schema: Schema.OptionFromOptional; }>>; readonly hasBody: Schema.Boolean; }>; readonly inputSchema: Schema.OptionFromOptional; readonly outputSchema: Schema.OptionFromOptional; readonly scopes: Schema.$Array; }>>; }>; export type GoogleDiscoveryManifest = typeof GoogleDiscoveryManifest.Type; export declare const GoogleDiscoveryAuth: Schema.Union; }>, Schema.Struct<{ readonly kind: Schema.Literal<"oauth2">; /** Connection id; resolve via `ctx.connections.accessToken(id)`. * Rewritten on sign-in to point at the freshly minted connection. */ readonly connectionId: Schema.String; /** Secret id holding the OAuth client_id. */ readonly clientIdSecretId: Schema.String; /** Secret id holding the OAuth client_secret. Null for public clients. */ readonly clientSecretSecretId: Schema.NullOr; /** Scopes requested on sign-in. */ readonly scopes: Schema.$Array; }>]>; export type GoogleDiscoveryAuth = typeof GoogleDiscoveryAuth.Type; export declare const GoogleDiscoveryCredentialValue: Schema.Union; }>]>; export type GoogleDiscoveryCredentialValue = typeof GoogleDiscoveryCredentialValue.Type; export declare const GoogleDiscoveryFetchCredentials: Schema.Struct<{ readonly headers: Schema.optional; }>]>>>; readonly queryParams: Schema.optional; }>]>>>; }>; export type GoogleDiscoveryFetchCredentials = typeof GoogleDiscoveryFetchCredentials.Type; export declare const GoogleDiscoveryStoredSourceData: Schema.Struct<{ readonly name: Schema.String; readonly discoveryUrl: Schema.String; readonly credentials: Schema.optional; }>]>>>; 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">; /** Connection id; resolve via `ctx.connections.accessToken(id)`. * Rewritten on sign-in to point at the freshly minted connection. */ readonly connectionId: Schema.String; /** Secret id holding the OAuth client_id. */ readonly clientIdSecretId: Schema.String; /** Secret id holding the OAuth client_secret. Null for public clients. */ readonly clientSecretSecretId: Schema.NullOr; /** Scopes requested on sign-in. */ readonly scopes: Schema.$Array; }>]>; }>; export type GoogleDiscoveryStoredSourceData = typeof GoogleDiscoveryStoredSourceData.Type; export declare const GoogleDiscoveryInvocationResult: Schema.Struct<{ readonly status: Schema.Number; readonly headers: Schema.$Record; readonly data: Schema.NullOr; readonly error: Schema.NullOr; }>; export type GoogleDiscoveryInvocationResult = typeof GoogleDiscoveryInvocationResult.Type; export interface GoogleDiscoverySourceMeta { readonly namespace: string; readonly name: string; }