import { DirectusPanel } from "../../../schema/panel.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/panels.d.ts type UpdatePanelOutput, Item extends object = DirectusPanel> = ApplyQueryFields; /** * Update multiple existing panels. * @param keys * @param item * @param query * @returns Returns the panel objects for the updated panels. * @throws Will throw if keys is empty */ declare const updatePanels: >>(keys: DirectusPanel["id"][], item: NestedPartial>, query?: TQuery) => RestCommand[], Schema>; /** * Update multiple panels as batch. * @param items * @param query * @returns Returns the panel objects for the updated panels. */ declare const updatePanelsBatch: >>(items: NestedPartial>[], query?: TQuery) => RestCommand[], Schema>; /** * Update an existing panel. * @param key * @param item * @param query * @returns Returns the panel object for the updated panel. * @throws Will throw if key is empty */ declare const updatePanel: >>(key: DirectusPanel["id"], item: NestedPartial>, query?: TQuery) => RestCommand, Schema>; //#endregion export { UpdatePanelOutput, updatePanel, updatePanels, updatePanelsBatch }; //# sourceMappingURL=panels.d.ts.map