import { type DrizzleExecutor } from "../drizzle.js"; /** * Reports access to a complete, non-infected file through public state, ownership, a visible product reference, or an unexpired principal grant. * Keeping every indirect profile, chat, attachment, emoji, bot, and server reference in one predicate prevents inconsistent download authorization. */ export declare function fileCanAccessWith(executor: DrizzleExecutor, userId: string, fileId: string): Promise; //# sourceMappingURL=fileCanAccessWith.d.ts.map