import type { z } from "zod"; import type { AgentMessageRecord, CommentRecord, DocumentRecord, KnowledgeEntryRecord } from "../../types"; import type { agentMessageInputSchema, commentInputSchema, documentInputSchema, knowledgeEntryInputSchema, listCommentsSchema, markMessageReadSchema, meetingInputSchema, messageQuerySchema, searchMessagesSchema } from "../schemas-messages"; import type { deleteEntitySchema } from "../schemas-badges"; import type { DesktopResult } from "./common"; export type CommunicationApi = { addComment: (input: z.infer) => Promise>; listComments: (input: z.infer) => Promise>; saveMeeting: (input: z.infer) => Promise>; deleteMeeting: (input: z.infer) => Promise>; saveDocument: (input: z.infer) => Promise>; deleteDocument: (input: z.infer) => Promise>; saveKnowledgeEntry: (input: z.infer) => Promise>; deleteKnowledgeEntry: (input: z.infer) => Promise>; sendAgentMessage: (input: z.infer) => Promise>; listAgentMessages: (input: z.infer) => Promise>; markMessageRead: (input: z.infer) => Promise>; searchMessages: (input: z.infer) => Promise>; // Keep reference to silence unused-import checker for DocumentRecord/KnowledgeEntryRecord — consumers infer via schemas. _recordsAnchor?: never & { _d?: DocumentRecord; _k?: KnowledgeEntryRecord }; };