import { FRONTEND_ARCHIVE_FORMAT } from "@supacloud/delivery/frontend-archive"; import type { HttpResult } from "../transports/http"; type ToolResponse = { content: Array<{ type: "text"; text: string; }>; isError?: boolean; }; export interface FrontendReleaseHttp { get(path: string, options?: { maxJsonBytes?: number; }): Promise>; post(path: string, body?: unknown, options?: { maxJsonBytes?: number; responseTimeoutMs?: number; }): Promise>; postBinary(path: string, body: { stream: ReadableStream; byteLength: number; }, options: { contentType: string; contentLength: number; contentSha256: string; maxJsonBytes: number; timeoutMs?: number; responseTimeoutMs?: number; }): Promise>; } export interface FrontendReleaseRecord { project_ref: string; deployment_id: string; release_id: string; sha256: string; tree_sha256: string; size_bytes: number; file_count: number; created_at: string; kind: "prebuilt_static"; archive_format: typeof FRONTEND_ARCHIVE_FORMAT; } export declare function listFrontendReleases(http: FrontendReleaseHttp, projectRef: string, deploymentId: string, cursor?: string, limit?: number): Promise; export declare function getFrontendRelease(http: FrontendReleaseHttp, projectRef: string, deploymentId: string, releaseId: string): Promise; export declare function uploadFrontendRelease(http: FrontendReleaseHttp, projectRef: string, deploymentId: string, archivePath: string): Promise; export declare function uploadProjectWebRelease(http: FrontendReleaseHttp, projectRef: string, environmentId: string, deploymentId: string, archivePath: string): Promise; export declare function uploadFrontendSource(http: FrontendReleaseHttp, projectRef: string, deploymentId: string, archivePath: string): Promise; export declare function getActiveFrontendRelease(http: FrontendReleaseHttp, projectRef: string, deploymentId: string): Promise; export declare function readFrontendReleaseAuthority(http: FrontendReleaseHttp, projectRef: string, deploymentId: string): Promise; export declare function rollbackFrontendRelease(http: FrontendReleaseHttp, projectRef: string, deploymentId: string, releaseId?: string): Promise; export declare function activateFrontendRelease(http: FrontendReleaseHttp, input: { projectRef: string; deploymentId: string; releaseId: string; expectedActiveReleaseId: string; expectedActivationId: string; mutationId: string; }): Promise; export {};