@mastra/core
Version:
15 lines • 801 B
TypeScript
import type { ToolExecutionContext } from '../tools/index.js';
import type { NotificationsStorage } from './storage.js';
export declare function createNotificationInboxTool({ storage }: {
storage: NotificationsStorage;
}): import("../tools").Tool<{
action: "search" | "read" | "list" | "markSeen" | "dismiss" | "archive";
threadId?: string | undefined;
id?: string | undefined;
status?: "pending" | "archived" | "delivered" | "seen" | "dismissed" | "discarded" | undefined;
priority?: "low" | "medium" | "high" | "urgent" | undefined;
source?: string | undefined;
query?: string | undefined;
limit?: number | undefined;
}, unknown, unknown, unknown, ToolExecutionContext<unknown, unknown, unknown>, "notification-inbox", unknown>;
//# sourceMappingURL=tool.d.ts.map