import { SUBBUILD_TYPES } from '@hubspot/local-dev-lib/enums/build'; import { HubSpotPromise, QueryParams } from '@hubspot/local-dev-lib/types/Http'; import { ValueOf } from '@hubspot/local-dev-lib/types/Utils'; export type Release = { releaseTag: string; buildId: number; createdAt: string; components?: Array<{ buildType: ValueOf; buildName?: string; rootPath?: string; id?: string; }>; }; export type FetchListReleasesResponse = { results: Array; paging: { next: { after: string; }; }; }; export type AutoReleaseResponse = { releaseTag: string; status: string; appId: number; }; export type AutoReleaseStatusResponse = { status: 'PENDING' | 'COMPLETE'; currentReleaseTag?: string; }; export declare function createRelease(accountId: number, projectName: string, buildId: number): HubSpotPromise; export declare function listReleases(accountId: number, projectName: string, params?: QueryParams): HubSpotPromise; export declare function getReleaseInfo(accountId: number, projectName: string, releaseTag: string): HubSpotPromise; export declare function triggerAutoRelease(accountId: number, projectId: number, buildId: number, targetPortalId: number): HubSpotPromise; export declare function getAutoReleaseStatus(accountId: number, projectId: number, targetPortalId: number, expectedReleaseTag: string, appId: number): HubSpotPromise;