import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { ConnectServiceSyncError } from "./connectservicesyncerror.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
/**
 * done means the external service was updated. required means the Vercel update was saved, but provider-side configuration still needs attention.
 */
export declare const ConnectServiceSyncStatus: {
    readonly Done: "done";
    readonly Required: "required";
};
/**
 * done means the external service was updated. required means the Vercel update was saved, but provider-side configuration still needs attention.
 */
export type ConnectServiceSyncStatus = ClosedEnum<typeof ConnectServiceSyncStatus>;
/**
 * Provider-side configuration synchronization result.
 */
export type ConnectServiceSync = {
    /**
     * done means the external service was updated. required means the Vercel update was saved, but provider-side configuration still needs attention.
     */
    status: ConnectServiceSyncStatus;
    /**
     * Provider synchronization errors. Present when serviceSync.status is required.
     */
    errors?: Array<ConnectServiceSyncError> | undefined;
};
/** @internal */
export declare const ConnectServiceSyncStatus$inboundSchema: z.ZodNativeEnum<typeof ConnectServiceSyncStatus>;
/** @internal */
export declare const ConnectServiceSync$inboundSchema: z.ZodType<ConnectServiceSync, z.ZodTypeDef, unknown>;
export declare function connectServiceSyncFromJSON(jsonString: string): SafeParseResult<ConnectServiceSync, SDKValidationError>;
//# sourceMappingURL=connectservicesync.d.ts.map