import type { CommandList, DeepPartial, Entity, FieldsParam, MuteUpdateNotificationsParam, Schema } from "../types"; import { ResourceApi } from "./common"; type CommandListSchema = Schema; type CommandListEntity = Entity; /** * This resource lets you apply commands to issues. * https://www.jetbrains.com/help/youtrack/devportal/resource-api-commands.html */ export declare class CommandsApi extends ResourceApi { /** * Applies a command to the specified issues. * @param body - Required fields: query - the command to apply, issues (id or idReadable of at least one issue that the command will be applied to). * @param params.fields - A list of CommandList attributes that should be returned in the response. If no field is specified, only the entityId is returned. * @param params.muteUpdateNotifications - Set this parameter to true if no notifications should be sent on changes made by this request. * @returns The result of the command application. */ applyCommandToIssues(body: DeepPartial, params?: FieldsParam | MuteUpdateNotificationsParam): Promise>; /** * Gets command suggestions for the specified query. * @param body - Required fields: query - the command that you'll get suggestions for. * @param params.fields - A list of CommandList attributes that should be returned in the response. If no field is specified, only the entityId is returned. * @returns A list of command suggestions based on the specified query. */ getCommandSuggestions(body: DeepPartial, params?: FieldsParam): Promise>; } export {};