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/create/notifications.d.ts type CreateNotificationOutput, Item extends object = DirectusNotification> = ApplyQueryFields; /** * Create multiple new notifications. * * @param items The notifications to create * @param query Optional return data query * * @returns Returns the notification object for the created notification. */ declare const createNotifications: >>(items: NestedPartial>[], query?: TQuery) => RestCommand[], Schema>; /** * Create a new notification. * * @param item The notification to create * @param query Optional return data query * * @returns Returns the notification object for the created notification. */ declare const createNotification: >>(item: NestedPartial>, query?: TQuery) => RestCommand, Schema>; //#endregion export { CreateNotificationOutput, createNotification, createNotifications }; //# sourceMappingURL=notifications.d.ts.map