import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export declare const Provider: { readonly Atlassian: "atlassian"; readonly Dropbox: "dropbox"; readonly Microsoft: "microsoft"; readonly Salesforce: "salesforce"; readonly Slack: "slack"; readonly Hubspot: "hubspot"; }; export type Provider = ClosedEnum; export type OAuthCredentials = { provider: Provider; /** * The unique name of your authenticator, used to identify it and distinguish it from others. This name must be unique. Attempting to reuse the same name will result in an error. */ name: string; clientId: string; clientSecret: string; domain?: string | null | undefined; }; /** @internal */ export declare const Provider$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Provider$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const OAuthCredentials$inboundSchema: z.ZodType; /** @internal */ export type OAuthCredentials$Outbound = { provider: string; name: string; client_id: string; client_secret: string; domain?: string | null | undefined; }; /** @internal */ export declare const OAuthCredentials$outboundSchema: z.ZodType; export declare function oAuthCredentialsToJSON(oAuthCredentials: OAuthCredentials): string; export declare function oAuthCredentialsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=oauthcredentials.d.ts.map