import { type DrizzleExecutor } from "../../drizzle.js"; import { type DocumentSummary } from "../types.js"; import { type DocumentRow } from "./documentRowGet.js"; /** * Hydrates one authorized document row with attachment metadata the caller may see. * The owner sees every location; another collaborator sees only attached channels they * can access, preventing membership in one channel from probing a second private channel. */ export declare function documentSummaryGet(executor: DrizzleExecutor, actorUserId: string, row: DocumentRow): Promise; /** Hydrates several authorized document rows while checking each distinct channel only once. */ export declare function documentSummariesGet(executor: DrizzleExecutor, actorUserId: string, rows: readonly DocumentRow[]): Promise; //# sourceMappingURL=documentSummaryGet.d.ts.map