import { AirtableApi, AirtableApiOptions, CodeUploadOptions, CodeUploadResponse, CreateBuildOptions, CreateBuildResponseJson, CreateReleaseOptions, FinalizeCodeUploadResponse } from './airtable_api'; import { FetchInit } from './fetch_api'; export interface AirtableLegacyBlockApiBaseOptions extends AirtableApiOptions { baseId: string; } export interface AirtableLegacyBlockApiBuildStartOptions { hasBackend: boolean; } export interface AirtableLegacyBlockApiInstallationOptions { blockInstallationId: string; } export interface AirtableLegacyBlockApiBuildOptions { buildId: string; } interface AirtableLegacyBlockApiDeployOptions { deployId: string | null; } export interface AirtableLegacyBlockApiReleaseOptions extends AirtableLegacyBlockApiBuildOptions, AirtableLegacyBlockApiDeployOptions { } export declare class AirtableLegacyBlockApi extends AirtableApi { private baseId; constructor({ baseId, blockId, apiKey, userAgent, apiBaseUrl, }: AirtableLegacyBlockApiBaseOptions); airtableFetchInit({ url, ...init }: FetchInit): FetchInit; blockAccessPolicyAsync({ blockInstallationId }: AirtableLegacyBlockApiInstallationOptions): Promise; _blockBuildStartAsync({ hasBackend, }: AirtableLegacyBlockApiBuildStartOptions): Promise; _blockBuildSucceededAsync({ buildId }: AirtableLegacyBlockApiBuildOptions): Promise; blockBuildFailedAsync({ buildId }: AirtableLegacyBlockApiBuildOptions): Promise; blockCreateDeployAsync({ buildId }: AirtableLegacyBlockApiBuildOptions): Promise; blockDeployStatusAsync({ deployId }: AirtableLegacyBlockApiDeployOptions): Promise; blockCreateReleaseAsync({ buildId, deployId }: AirtableLegacyBlockApiReleaseOptions): Promise; _blockCreateCodeUploadAsync(): Promise; _blockFinalizeCodeUploadAsync({ codeUploadId, status, }: CodeUploadOptions): Promise; createBuildAsync({ s3, frontendBundle, }: CreateBuildOptions): Promise; createReleaseAsync({ buildId, deployId, developerComment, }: CreateReleaseOptions): Promise; } export {};