import { z } from "zod"; import { type CloudHttpOptions } from "./http.js"; declare const viewSchema: z.ZodObject<{ id: z.ZodUUID; connectorId: z.ZodString; label: z.ZodString; revision: z.ZodNumber; status: z.ZodEnum<{ cancelled: "cancelled"; pending: "pending"; failed: "failed"; processing: "processing"; completed: "completed"; expired: "expired"; }>; action: z.ZodNullable; required: z.ZodBoolean; description: z.ZodOptional; placeholder: z.ZodOptional; defaultValue: z.ZodOptional]>>; advanced: z.ZodOptional; }, z.core.$strict>>; stepId: z.ZodString; title: z.ZodString; kind: z.ZodLiteral<"form">; }, z.core.$strict>, z.ZodObject<{ options: z.ZodArray>; cursor: z.ZodOptional; stepId: z.ZodString; title: z.ZodString; kind: z.ZodLiteral<"select">; }, z.core.$strict>, z.ZodObject<{ url: z.ZodURL; completion: z.ZodEnum<{ callback: "callback"; continue: "continue"; }>; instructions: z.ZodOptional; stepId: z.ZodString; title: z.ZodString; kind: z.ZodLiteral<"external">; }, z.core.$strict>, z.ZodObject<{ setupId: z.ZodString; instructions: z.ZodString; fields: z.ZodArray; required: z.ZodBoolean; description: z.ZodOptional; placeholder: z.ZodOptional; defaultValue: z.ZodOptional]>>; advanced: z.ZodOptional; }, z.core.$strict>>; stepId: z.ZodString; title: z.ZodString; kind: z.ZodLiteral<"local">; }, z.core.$strict>, z.ZodObject<{ retryAfterMs: z.ZodNumber; stepId: z.ZodString; title: z.ZodString; kind: z.ZodLiteral<"wait">; }, z.core.$strict>], "kind">>; completedSourceId: z.ZodNullable; expiresAt: z.ZodISODateTime; }, z.core.$strip>; export type CloudSourceEnrollment = z.infer; /** OAuth-bound organization and owner are checked by Cloud on every read and submit. */ export declare function cloudSourceEnrollment(input: { origin: string; token: string; id: string; submit?: { expectedRevision: number; stepId: string; values: Readonly>; }; }, options?: CloudHttpOptions): Promise; export {};