import { DirectusFlow } from "../../../schema/flow.js"; import { NestedPartial } from "../../../types/utils.js"; import { ApplyQueryFields } from "../../../types/output.js"; import { Query } from "../../../types/query.js"; import { RestCommand } from "../../types.js"; //#region src/rest/commands/update/flows.d.ts type UpdateFlowOutput, Item extends object = DirectusFlow> = ApplyQueryFields; /** * Update multiple existing flows. * @param keys * @param item * @param query * @returns Returns the flow objects for the updated flows. * @throws Will throw if keys is empty */ declare const updateFlows: >>(keys: DirectusFlow["id"][], item: NestedPartial>, query?: TQuery) => RestCommand[], Schema>; /** * Update multiple flows as batch. * @param items * @param query * @returns Returns the flow objects for the updated flows. */ declare const updateFlowsBatch: >>(items: NestedPartial>[], query?: TQuery) => RestCommand[], Schema>; /** * Update an existing flow. * @param key * @param item * @param query * @returns Returns the flow object for the updated flow. * @throws Will throw if key is empty */ declare const updateFlow: >>(key: DirectusFlow["id"], item: NestedPartial>, query?: TQuery) => RestCommand, Schema>; //#endregion export { UpdateFlowOutput, updateFlow, updateFlows, updateFlowsBatch }; //# sourceMappingURL=flows.d.ts.map