import type { ScopeId } from "@executor-js/sdk/shared"; import * as Atom from "effect/unstable/reactivity/Atom"; import * as AsyncResult from "effect/unstable/reactivity/AsyncResult"; export declare const googleDiscoverySourceAtom: (scopeId: ScopeId, namespace: string) => Atom.Atom>; export declare const probeGoogleDiscovery: Atom.AtomResultFn<{ readonly params: { readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">; }; readonly payload: { readonly discoveryUrl: string; readonly credentials?: { readonly headers?: { readonly [x: string]: string | { readonly secretId: string; readonly prefix?: string | undefined; }; } | undefined; readonly queryParams?: { readonly [x: string]: string | { readonly secretId: string; readonly prefix?: string | undefined; }; } | undefined; } | undefined; }; readonly responseMode?: "decoded-only" | undefined; readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord | undefined; }, { readonly name: string; readonly version: string; readonly operations: readonly { readonly description: string | null; readonly method: string; readonly pathTemplate: string; readonly toolPath: string; }[]; readonly scopes: readonly string[]; readonly title: string | null; readonly service: string; readonly toolCount: number; }, import("@executor-js/sdk").InternalError | import("../sdk").GoogleDiscoveryParseError | import("../sdk").GoogleDiscoverySourceError | import("../api/group").GoogleDiscoveryApiError>; export declare const addGoogleDiscoverySource: Atom.AtomResultFn<{ readonly params: { readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">; }; readonly payload: { readonly name: string; readonly discoveryUrl: string; readonly auth: { readonly kind: "none"; } | { readonly connectionId: string; readonly kind: "oauth2"; readonly scopes: readonly string[]; readonly clientSecretSecretId: string | null; readonly clientIdSecretId: string; }; readonly namespace?: string | undefined; readonly credentials?: { readonly headers?: { readonly [x: string]: string | { readonly secretId: string; readonly prefix?: string | undefined; }; } | undefined; readonly queryParams?: { readonly [x: string]: string | { readonly secretId: string; readonly prefix?: string | undefined; }; } | undefined; } | undefined; }; readonly responseMode?: "decoded-only" | undefined; readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord | undefined; }, { readonly namespace: string; readonly toolCount: number; }, import("@executor-js/sdk").InternalError | import("../sdk").GoogleDiscoveryParseError | import("../sdk").GoogleDiscoverySourceError | import("../api/group").GoogleDiscoveryApiError>; export declare const addGoogleDiscoverySourceOptimistic: (arg: string & import("effect/Brand").Brand<"ScopeId">) => Atom.AtomResultFn<{ readonly params: { readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">; }; readonly payload: { readonly name: string; readonly discoveryUrl: string; readonly auth: { readonly kind: "none"; } | { readonly connectionId: string; readonly kind: "oauth2"; readonly scopes: readonly string[]; readonly clientSecretSecretId: string | null; readonly clientIdSecretId: string; }; readonly namespace?: string | undefined; readonly credentials?: { readonly headers?: { readonly [x: string]: string | { readonly secretId: string; readonly prefix?: string | undefined; }; } | undefined; readonly queryParams?: { readonly [x: string]: string | { readonly secretId: string; readonly prefix?: string | undefined; }; } | undefined; } | undefined; }; readonly responseMode?: "decoded-only" | undefined; readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord | undefined; }, { readonly namespace: string; readonly toolCount: number; }, import("@executor-js/sdk").InternalError | import("../sdk").GoogleDiscoveryParseError | import("../sdk").GoogleDiscoverySourceError | import("../api/group").GoogleDiscoveryApiError>; export declare const updateGoogleDiscoverySource: Atom.AtomResultFn<{ readonly params: { readonly namespace: string; readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">; }; readonly payload: { readonly name?: string | undefined; readonly auth?: { readonly kind: "none"; } | { readonly connectionId: string; readonly kind: "oauth2"; readonly scopes: readonly string[]; readonly clientSecretSecretId: string | null; readonly clientIdSecretId: string; } | undefined; }; readonly responseMode?: "decoded-only" | undefined; readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord | undefined; }, { readonly updated: boolean; }, import("@executor-js/sdk").InternalError | import("../sdk").GoogleDiscoveryParseError | import("../sdk").GoogleDiscoverySourceError | import("../api/group").GoogleDiscoveryApiError>;