import type { LongTaskStatus } from '../models/LongTaskStatus.js'; import type { CancelablePromise } from '../core/CancelablePromise.js'; export declare class LongTaskService { /** * Get task by ID * Returns information about a long-running task. * @param id the key of the task to be returned. * @param expand a comma separated list of properties to expand on the task. * @returns LongTaskStatus returns a full JSON representation of a long task. * @throws ApiError */ static getTask(id: string, expand?: string): CancelablePromise; /** * Get tasks * Returns information about all tracked long-running tasks. * @param expand comma separated list of properties to expand on the tasks. * @param limit the limit of the number of items to return, this may be restricted by fixed system limits * @param start the start point of the collection to return. * @returns any returns a full JSON representation of a list of long tasks. * @throws ApiError */ static getTasks(expand?: string, limit?: string, start?: string): CancelablePromise<{ results?: Array; totalCount?: number; start?: number; limit?: number; size?: number; _links?: { base?: string; context?: string; self?: string; next?: string; prev?: string; }; }>; } //# sourceMappingURL=LongTaskService.d.ts.map