/** * Types for the `generacy launch` command — claim-code first-run flow. */ import { z } from 'zod'; /** * CLI-parsed options passed to the launch handler. */ export interface LaunchOptions { claim?: string; dir?: string; apiUrl?: string; cloudUrl?: string; logLevel?: string; workers?: number; name?: string; } /** * Structured cloud URL triplet sent by the cloud in LaunchConfig. * When present, consumers use these directly instead of deriving URLs. */ export declare const CloudUrlsSchema: z.ZodObject<{ apiUrl: z.ZodString; appUrl: z.ZodString; relayUrl: z.ZodString; }, "strip", z.ZodTypeAny, { apiUrl: string; appUrl: string; relayUrl: string; }, { apiUrl: string; appUrl: string; relayUrl: string; }>; export type CloudUrls = z.infer; /** * Schema for a registry credential entry (host + username + password). * * The cloud sends plain username/password; consumers compute base64 auth * locally — pullImage for the scoped Docker config, and * forwardRegistryCredentials for the credhelper PUT body. */ export declare const RegistryCredentialSchema: z.ZodObject<{ host: z.ZodString; username: z.ZodString; password: z.ZodString; }, "strip", z.ZodTypeAny, { host: string; username: string; password: string; }, { host: string; username: string; password: string; }>; export type RegistryCredential = z.infer; /** * Zod schema for the cloud launch-config response. */ export declare const LaunchConfigSchema: z.ZodObject<{ projectId: z.ZodString; projectName: z.ZodString; variant: z.ZodString; channel: z.ZodOptional>; cloudUrl: z.ZodString; clusterId: z.ZodString; imageTag: z.ZodString; orgId: z.ZodString; repos: z.ZodObject<{ primary: z.ZodString; primaryBranch: z.ZodOptional; dev: z.ZodOptional>; clone: z.ZodOptional>; }, "strip", z.ZodTypeAny, { primary: string; dev?: string[] | undefined; clone?: string[] | undefined; primaryBranch?: string | undefined; }, { primary: string; dev?: string[] | undefined; clone?: string[] | undefined; primaryBranch?: string | undefined; }>; cloud: z.ZodOptional>; registryCredentials: z.ZodOptional, "many">>; tierCap: z.ZodOptional; preApprovedDeviceCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { repos: { primary: string; dev?: string[] | undefined; clone?: string[] | undefined; primaryBranch?: string | undefined; }; variant: string; projectId: string; projectName: string; clusterId: string; orgId: string; cloudUrl: string; imageTag: string; channel?: "stable" | "preview" | undefined; cloud?: { apiUrl: string; appUrl: string; relayUrl: string; } | undefined; registryCredentials?: { host: string; username: string; password: string; }[] | undefined; tierCap?: number | undefined; preApprovedDeviceCode?: string | undefined; }, { repos: { primary: string; dev?: string[] | undefined; clone?: string[] | undefined; primaryBranch?: string | undefined; }; variant: string; projectId: string; projectName: string; clusterId: string; orgId: string; cloudUrl: string; imageTag: string; channel?: "stable" | "preview" | undefined; cloud?: { apiUrl: string; appUrl: string; relayUrl: string; } | undefined; registryCredentials?: { host: string; username: string; password: string; }[] | undefined; tierCap?: number | undefined; preApprovedDeviceCode?: string | undefined; }>; /** * Response from GET /api/clusters/launch-config?claim=. */ export type LaunchConfig = z.infer; //# sourceMappingURL=types.d.ts.map