import { AirtableApi, AirtableApiOptions, CodeUploadOptions, CodeUploadResponse, CreateBuildOptions, CreateBuildResponseJson, CreateReleaseOptions, FinalizeCodeUploadResponse } from './airtable_api'; import { FetchInit } from './fetch_api'; import { S3SignedUploadInfo } from './s3_api'; export interface AirtableBlockV2ApiBaseOptions extends AirtableApiOptions { blockId: string; } export interface AirtableBlockV2ApiReleaseOptions { buildId: string; developerComment: string; } export interface AirtableBlockV2ApiBuildStartResponse { buildId: string; frontendBundleS3UploadInfo: S3SignedUploadInfo; } export interface AirtableBlockV2ApiReleaseResponse { releaseId: string; } export declare class AirtableBlockV2Api extends AirtableApi { airtableFetchInit({ url, ...init }: FetchInit): FetchInit; _blockBuildStartAsync(): Promise; blockCreateReleaseAsync({ buildId, developerComment, }: AirtableBlockV2ApiReleaseOptions): Promise; _blockCreateCodeUploadAsync(): Promise; _blockFinalizeCodeUploadAsync({ codeUploadId, status, }: CodeUploadOptions): Promise; createBuildAsync({ s3, frontendBundle, }: CreateBuildOptions): Promise; createReleaseAsync({ buildId, developerComment }: CreateReleaseOptions): Promise; }