import type { DeploymentDetail, DeploymentLogEntry, PromotePreviewToProductionRequest, PromotePreviewToProductionResponse, StartAppLifecycleRequest, StartAppLifecycleResponse } from "./types.js"; export declare function commitFiles(baseUrl: string, token: string, appId: string, files: Record, commitMessage: string): Promise<{ commitSha: string; }>; export declare function deployApp(baseUrl: string, token: string, appId: string, input?: { environment?: "preview" | "production"; commitSha?: string; branch?: string; }): Promise<{ deploymentId: string; environment?: "preview" | "production"; url?: string; version?: number; commitSha?: string; }>; export declare function promotePreviewToProduction(baseUrl: string, token: string, appId: string, input: PromotePreviewToProductionRequest): Promise; export declare function startAppLifecycle(baseUrl: string, token: string, appId: string, input: StartAppLifecycleRequest): Promise; export declare function getDeploymentLogs(apiBase: string, token: string, deploymentId: string): Promise; export declare function getDeploymentStatus(apiBase: string, token: string, deploymentId: string): Promise<{ status?: string; }>; export declare function getLatestDeploymentForApp(apiBase: string, token: string, appId: string, options?: { status?: string[]; createdAfter?: string; branch?: string; }): Promise<{ id?: string; status?: string; } | null>; export declare function getDeploymentDetail(apiBase: string, token: string, deploymentId: string): Promise;