import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { CreateDeploymentOptions, Deployment, CreateDeploymentApplicationErrors, PublishDeploymentOptions, PublishDeploymentResponse, PublishDeploymentApplicationErrors, PublishRcDeploymentOptions, PublishRCDeploymentResponse, PublishRcDeploymentApplicationErrors, ListDeploymentsResponse, DeploymentsQueryBuilder, ReportDeploymentPipelineResultOptions, ReportDeploymentPipelineResultApplicationErrors, GetDeploymentPipelineDescriptionResponse, GetDeploymentPipelineDescriptionApplicationErrors, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse } from './index.typings.js'; export { ActionEvent, CreateDeploymentOptionsBasedOnOneOf, CreateDeploymentOptionsPublishMethodOneOf, CreateDeploymentRequest, CreateDeploymentRequestBasedOnOneOf, CreateDeploymentRequestPublishMethodOneOf, CreateDeploymentResponse, CreationPublishTypeNone, CreationPublishTypeRC, CreationPublishTypeSite, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeploymentAttribute, DeploymentAttributeAttributeOneOf, DeploymentCreationPublishTypeOneOf, DeploymentDescriptionOneOf, DeploymentPipelineUpdatedMessage, DeploymentPipelinesStatus, DeploymentPipelinesStatusWithLiterals, DeploymentType, DeploymentTypeWithLiterals, DeploymentsQueryResult, DomainEvent, DomainEventBodyOneOf, EditorRevision, EditorSession, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetDeploymentPipelineDescriptionRequest, GetDeploymentRequest, GetDeploymentResponse, GridAppIdAttribute, IdentificationData, IdentificationDataIdOneOf, LatestFromBranch, ListDeploymentsRequest, MessageEnvelope, PipelineDescription, PipelineResult, PipelineStatus, PipelineStatusWithLiterals, PublishDeploymentRequest, PublishRCDeploymentRequest, PublishSiteRCMethod, PublishType, PublishTypeWithLiterals, QueryDeploymentsRequest, QueryDeploymentsResponse, RCLabel, RCLabelWithLiterals, ReportDeploymentPipelineResultRequest, ReportDeploymentPipelineResultResponse, RestoreInfo, SessionInfo, SortOrder, SortOrderWithLiterals, Sorting, TaskDescription, TaskResult, TaskStatus, TaskStatusWithLiterals, UpdateExtendedFieldsRequest, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js'; declare function createDeployment$1(httpClient: HttpClient): CreateDeploymentSignature; interface CreateDeploymentSignature { /** * Creates a new Deployment * @returns The created Deployment */ (options?: CreateDeploymentOptions): Promise & { __applicationErrorsType?: CreateDeploymentApplicationErrors; }>; } declare function getDeployment$1(httpClient: HttpClient): GetDeploymentSignature; interface GetDeploymentSignature { /** * Get a Deployment by id * @param - Id of the Deployment to retrieve * @returns The retrieved Deployment */ (deploymentId: string): Promise>; } declare function publishDeployment$1(httpClient: HttpClient): PublishDeploymentSignature; interface PublishDeploymentSignature { /** * Publish a Deployment * @param - Id of the Deployment to publish */ (deploymentId: string, options?: PublishDeploymentOptions): Promise & { __applicationErrorsType?: PublishDeploymentApplicationErrors; }>; } declare function publishRcDeployment$1(httpClient: HttpClient): PublishRcDeploymentSignature; interface PublishRcDeploymentSignature { /** * Publish an RC Deployment * @param - Id of the Deployment to publish */ (deploymentId: string, options?: PublishRcDeploymentOptions): Promise & { __applicationErrorsType?: PublishRcDeploymentApplicationErrors; }>; } declare function listDeployments$1(httpClient: HttpClient): ListDeploymentsSignature; interface ListDeploymentsSignature { /** * List Deployments */ (): Promise>; } declare function queryDeployments$1(httpClient: HttpClient): QueryDeploymentsSignature; interface QueryDeploymentsSignature { /** * Query Deployments */ (): DeploymentsQueryBuilder; } declare function reportDeploymentPipelineResult$1(httpClient: HttpClient): ReportDeploymentPipelineResultSignature; interface ReportDeploymentPipelineResultSignature { /** * The pipeline provider has to send this event when its execution has ended. * @param - The deployment creation process id, should match the id that was passed in the invoke() call by the SPI Host * @param - The deployment pipeline implementer id as appears in the SPI Config */ (deploymentId: string, deploymentPipelineId: string, options?: ReportDeploymentPipelineResultOptions): Promise; } declare function getDeploymentPipelineDescription$1(httpClient: HttpClient): GetDeploymentPipelineDescriptionSignature; interface GetDeploymentPipelineDescriptionSignature { /** * Get Deployment Pipeline Description * @param - The deployment id * @param - The deployment pipelines implementers ids as appears in the SPI Config to be called for getting descriptions. */ (deploymentId: string, deploymentPipelinesIds: string[]): Promise & { __applicationErrorsType?: GetDeploymentPipelineDescriptionApplicationErrors; }>; } declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature; interface UpdateExtendedFieldsSignature { /** * Updates extended fields of a Deployment without incrementing revision * @param - ID of the entity to update. * @param - Identifier for the app whose extended fields are being updated. */ (_id: string, namespace: string, options: NonNullablePaths): Promise>; } declare const createDeployment: MaybeContext & typeof createDeployment$1>; declare const getDeployment: MaybeContext & typeof getDeployment$1>; declare const publishDeployment: MaybeContext & typeof publishDeployment$1>; declare const publishRcDeployment: MaybeContext & typeof publishRcDeployment$1>; declare const listDeployments: MaybeContext & typeof listDeployments$1>; declare const queryDeployments: MaybeContext & typeof queryDeployments$1>; declare const reportDeploymentPipelineResult: MaybeContext & typeof reportDeploymentPipelineResult$1>; declare const getDeploymentPipelineDescription: MaybeContext & typeof getDeploymentPipelineDescription$1>; declare const updateExtendedFields: MaybeContext & typeof updateExtendedFields$1>; export { CreateDeploymentApplicationErrors, CreateDeploymentOptions, Deployment, DeploymentsQueryBuilder, GetDeploymentPipelineDescriptionApplicationErrors, GetDeploymentPipelineDescriptionResponse, ListDeploymentsResponse, PublishDeploymentApplicationErrors, PublishDeploymentOptions, PublishDeploymentResponse, PublishRCDeploymentResponse, PublishRcDeploymentApplicationErrors, PublishRcDeploymentOptions, ReportDeploymentPipelineResultApplicationErrors, ReportDeploymentPipelineResultOptions, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, createDeployment, getDeployment, getDeploymentPipelineDescription, listDeployments, publishDeployment, publishRcDeployment, queryDeployments, reportDeploymentPipelineResult, updateExtendedFields };