import { z } from 'zod';
import type { APIClient } from '../../api.ts';
declare const DevmodeResponseSchema: z.ZodObject<{
    id: z.ZodString;
    hostname: z.ZodString;
    privateKey: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type DevmodeResponse = z.infer<typeof DevmodeResponseSchema>;
/**
 * Reserve (or re-use) an Agentuity devmode endpoint for the current
 * project. The platform returns a hostname plus a private key the
 * gravity binary uses to authenticate when it dials the public-URL
 * tunnel. Re-passing a previously-issued private key keeps the same
 * hostname stable across dev sessions on the same machine.
 *
 * KNOWN PLATFORM BUG: as of 2026-05-07 this endpoint routes hostnames
 * by the caller's `User-Agent` and v3-shaped UAs (`Agentuity CLI/3.x`)
 * receive hostnames under `*.agentuity.live`, which has no wildcard
 * DNS configured — so the URL never resolves. v2 UAs and curl get
 * `*.agentuity-us.live`, which works. Tracking in agentuity/infra#210.
 */
export declare function generateEndpoint(apiClient: APIClient, projectId: string, hostname?: string, privateKey?: string): Promise<DevmodeResponse>;
export {};
//# sourceMappingURL=api.d.ts.map