import { type LaunchConfig } from './types.js'; /** * Fetch a launch configuration from the Generacy cloud API. * * Sends a GET request to `{cloudUrl}/api/clusters/launch-config?claim={claimCode}` * and validates the response against {@link LaunchConfigSchema}. * * When the environment variable `GENERACY_LAUNCH_STUB` is set to `"1"`, the * function returns a hardcoded fixture without making any HTTP request. * * @param cloudUrl - Base URL of the Generacy cloud (e.g. `https://api.generacy.ai`). * @param claimCode - Claim code issued by the cloud dashboard. * @returns The validated launch configuration. * * @throws {CloudError} Status-code-specific message on 4xx responses. * @throws {Error} "Could not reach Generacy cloud" on network errors. * @throws {Error} "Invalid response from cloud" on malformed JSON or schema validation failure. */ export declare function fetchLaunchConfig(cloudUrl: string, claimCode: string): Promise; //# sourceMappingURL=cloud-client.d.ts.map