import type { marketplace_application_TaskTemplate } from '../models/marketplace_application_TaskTemplate'; import type { marketplace_application_TaskTemplateList } from '../models/marketplace_application_TaskTemplateList'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class TaskTemplatesService { /** * List task templates * * Lists task templates from the Tasks marketplace app installed on the * workspace. The request is proxied to the app's task-templates API. * Requires the Tasks app to be installed. * * @param limit Maximum number of task templates to return * @param nextToken Pagination cursor returned by a previous list response * * @example * await assembly.listTaskTemplates(); */ static listTaskTemplates({ limit, nextToken, }: { /** * Maximum number of task templates to return */ limit?: number; /** * Pagination cursor returned by a previous list response */ nextToken?: string; }): CancelablePromise; /** * Retrieve a task template * * Retrieves a single task template by id from the Tasks marketplace app * installed on the workspace. The request is proxied to the app's * task-templates API. Requires the Tasks app to be installed. * * @param id Task template id * * @example * await assembly.retrieveTaskTemplate({ id: ... }); */ static retrieveTaskTemplate({ id, }: { /** * Task template id */ id: string; }): CancelablePromise; }