import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { Task, ListTasksOptions, ListTasksResponse, CancelTaskResponse } from './index.typings.js'; export { AccountInfo, ActionEvent, ApplicationError, CancelTaskRequest, CopyFieldDataOptions, CreateTaskRequest, CreateTaskResponse, Cursors, DeleteByQueryOptions, DomainEvent, DomainEventBodyOneOf, EditFieldDataOptions, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Environment, EnvironmentWithLiterals, GetTaskRequest, GetTaskResponse, IdentificationData, IdentificationDataIdOneOf, ListTasksRequest, MessageEnvelope, Operation, OperationWithLiterals, Operations, Paging, PagingMetadataV2, PublishPluginOptions, Replace, RestoreInfo, ScheduleOperation, Status, StatusWithLiterals, TaskOptionsOneOf, Type, TypeWithLiterals, UpdatePublishStatusOptions, UpdatePublishStatusOptionsOptionsOneOf, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js'; declare function createTask$1(httpClient: HttpClient): CreateTaskSignature; interface CreateTaskSignature { /** * Creates and runs a new background task. * @param - Task to create and run. * @returns Created task. */ (task: NonNullablePaths): Promise>; } declare function listTasks$1(httpClient: HttpClient): ListTasksSignature; interface ListTasksSignature { /** * Lists all existing tasks. */ (options?: ListTasksOptions): Promise>; } declare function getTask$1(httpClient: HttpClient): GetTaskSignature; interface GetTaskSignature { /** * Retrieves the specified task. * @param - Task ID. * @returns Retrieved task. */ (taskId: string): Promise>; } declare function cancelTask$1(httpClient: HttpClient): CancelTaskSignature; interface CancelTaskSignature { /** * Cancels an existing task. * @param - Task ID. */ (taskId: string): Promise>; } declare const createTask: MaybeContext & typeof createTask$1>; declare const listTasks: MaybeContext & typeof listTasks$1>; declare const getTask: MaybeContext & typeof getTask$1>; declare const cancelTask: MaybeContext & typeof cancelTask$1>; export { CancelTaskResponse, ListTasksOptions, ListTasksResponse, Task, cancelTask, createTask, getTask, listTasks };