import type { MeticulousClient } from "../types/client.types"; /** * Endpoints used by the per-project session-mutation catalog-maintenance * worker. The worker holds no S3 credentials; it asks the backend for a * short-lived presigned PUT at upload time. */ export interface RequestCatalogMaintenanceProposalUploadParams { projectId?: string; /** The maintenance run this proposal belongs to. */ runId: string; /** Exact upload size; the presigned PUT is pinned to it. */ sizeBytes: number; } export interface RequestCatalogMaintenanceProposalUploadResponse { uploadUrl: string; } export interface LaunchCatalogMaintenanceParams { projectId?: string; runId: string; } export interface LaunchCatalogMaintenanceResponse { workflowName: string; } /** Launch the per-project maintenance worker (called by the trusted scheduler). */ export declare const launchCatalogMaintenance: ({ client, projectId, ...body }: LaunchCatalogMaintenanceParams & { client: MeticulousClient; }) => Promise; export interface GetCatalogMaintenanceWorkflowStatusParams { projectId?: string; workflowName: string; } export interface CatalogMaintenanceWorkflowStatusResponse { /** Argo workflow phase (`Running`, `Succeeded`, `Failed`, ...) or `NotFound`. */ phase: string; } export declare const getCatalogMaintenanceWorkflowStatus: ({ client, projectId, workflowName, }: GetCatalogMaintenanceWorkflowStatusParams & { client: MeticulousClient; }) => Promise; export declare const requestCatalogMaintenanceProposalUpload: ({ client, projectId, ...body }: RequestCatalogMaintenanceProposalUploadParams & { client: MeticulousClient; }) => Promise; //# sourceMappingURL=catalog-maintenance.api.d.ts.map