import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { APIError } from "./apierror.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { SyncAcquireResponseDeployment } from "./syncacquireresponsedeployment.js"; export type Failure = { /** * ID of the deployment that failed */ deploymentId: string; /** * Project ID the deployment belongs to */ projectId: string; error: APIError; }; /** * Acquired deployments and failures */ export type SyncAcquireResponse = { /** * List of acquired deployments with deployment context */ deployments: Array; /** * List of deployments that failed during context building (locks already released) */ failures: Array; /** * When the provisional leases on the returned deployments lapse. Confirm them with sync/renew before starting work. Null when nothing was acquired. */ leaseExpiresAt: Date | null; }; /** @internal */ export declare const Failure$inboundSchema: z.ZodType; export declare function failureFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SyncAcquireResponse$inboundSchema: z.ZodType; export declare function syncAcquireResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=syncacquireresponse.d.ts.map