import { type DrizzleExecutor } from "../../drizzle.js"; import { documents } from "../../schema.js"; export type DocumentRow = typeof documents.$inferSelect; /** * Loads one document row and enforces standalone ownership plus channel attachment * access. The owner always passes; another actor may read through membership in any * attached channel and may write by being able to post in any attached channel. * `not_found` covers both absence and denial so document attachment is not probeable. */ export declare function documentRowGet(executor: DrizzleExecutor, actorUserId: string, documentId: string, access: "read" | "write" | "owner"): Promise; //# sourceMappingURL=documentRowGet.d.ts.map