import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type RotateInstallationCredentialRequestBody = {
    clientSecret: string;
    clientId?: string | undefined;
};
export type RotateInstallationCredentialRequest = {
    integrationConfigurationId: string;
    requestBody?: RotateInstallationCredentialRequestBody | undefined;
};
export declare const TokenType: {
    readonly Oauth2Token: "oauth2-token";
};
export type TokenType = ClosedEnum<typeof TokenType>;
export type RotateInstallationCredentialResponseBody = {
    scope: string;
    expiresIn: number;
    accessToken: string;
    tokenType: TokenType;
};
/** @internal */
export type RotateInstallationCredentialRequestBody$Outbound = {
    client_secret: string;
    client_id?: string | undefined;
};
/** @internal */
export declare const RotateInstallationCredentialRequestBody$outboundSchema: z.ZodType<RotateInstallationCredentialRequestBody$Outbound, z.ZodTypeDef, RotateInstallationCredentialRequestBody>;
export declare function rotateInstallationCredentialRequestBodyToJSON(rotateInstallationCredentialRequestBody: RotateInstallationCredentialRequestBody): string;
/** @internal */
export type RotateInstallationCredentialRequest$Outbound = {
    integrationConfigurationId: string;
    RequestBody?: RotateInstallationCredentialRequestBody$Outbound | undefined;
};
/** @internal */
export declare const RotateInstallationCredentialRequest$outboundSchema: z.ZodType<RotateInstallationCredentialRequest$Outbound, z.ZodTypeDef, RotateInstallationCredentialRequest>;
export declare function rotateInstallationCredentialRequestToJSON(rotateInstallationCredentialRequest: RotateInstallationCredentialRequest): string;
/** @internal */
export declare const TokenType$inboundSchema: z.ZodNativeEnum<typeof TokenType>;
/** @internal */
export declare const RotateInstallationCredentialResponseBody$inboundSchema: z.ZodType<RotateInstallationCredentialResponseBody, z.ZodTypeDef, unknown>;
export declare function rotateInstallationCredentialResponseBodyFromJSON(jsonString: string): SafeParseResult<RotateInstallationCredentialResponseBody, SDKValidationError>;
//# sourceMappingURL=rotateinstallationcredentialop.d.ts.map