import { type MutationHint } from "../chat/types.js"; import { type DrizzleExecutor } from "../drizzle.js"; /** * Detaches one document from one channel by deleting only its * `documentChannelAttachments` row and advancing `documents.updatedAt`; document content * and update history remain intact. The owner may always detach, while another actor must * be able to post to that attached channel; every denied or absent relation is `not_found` * so attachment is not probeable. The transaction records `document.detached` for list reconciliation. */ export declare function documentDetach(executor: DrizzleExecutor, input: { actorUserId: string; documentId: string; chatId: string; }): Promise<{ documentId: string; chatId: string; hint: MutationHint; }>; //# sourceMappingURL=documentDetach.d.ts.map