import { DirectusNotification } from "../../../schema/notification.js"; import { ApplyQueryFields } from "../../../types/output.js"; import { Query } from "../../../types/query.js"; import { RestCommand } from "../../types.js"; //#region src/rest/commands/read/notifications.d.ts type ReadNotificationOutput, Item extends object = DirectusNotification> = ApplyQueryFields; /** * List all notifications that exist in Directus. * @param query The query parameters * @returns An array of up to limit notification objects. If no items are available, data will be an empty array. */ declare const readNotifications: >>(query?: TQuery) => RestCommand[], Schema>; /** * List an existing notification by primary key. * @param key The primary key of the dashboard * @param query The query parameters * @returns Returns the requested notification object. * @throws Will throw if key is empty */ declare const readNotification: >>(key: DirectusNotification["id"], query?: TQuery) => RestCommand, Schema>; //#endregion export { ReadNotificationOutput, readNotification, readNotifications }; //# sourceMappingURL=notifications.d.ts.map