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