import { DirectusFolder } from "../../../schema/folder.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/folders.d.ts type UpdateFolderOutput, Item extends object = DirectusFolder> = ApplyQueryFields; /** * Update multiple existing folders. * @param keys * @param item * @param query * @returns Returns the folder objects of the folders that were updated. * @throws Will throw if keys is empty */ declare const updateFolders: >>(keys: DirectusFolder["id"][], item: NestedPartial>, query?: TQuery) => RestCommand[], Schema>; /** * Update multiple folders as batch. * @param items * @param query * @returns Returns the folder objects of the folders that were updated. */ declare const updateFoldersBatch: >>(items: NestedPartial>[], query?: TQuery) => RestCommand[], Schema>; /** * Update an existing folder. * @param key * @param item * @param query * @returns Returns the folder object of the folder that was updated. * @throws Will throw if key is empty */ declare const updateFolder: >>(key: DirectusFolder["id"], item: NestedPartial>, query?: TQuery) => RestCommand, Schema>; //#endregion export { UpdateFolderOutput, updateFolder, updateFolders, updateFoldersBatch }; //# sourceMappingURL=folders.d.ts.map