import { type DrizzleExecutor } from "../drizzle.js"; import { type StoredFile } from "./types.js"; /** * Resolves a complete, non-deleted, non-infected file only when the specified user originally uploaded it. * Keeping ownership in the query gives avatar, attachment, and cleanup callers a non-leaking absent result for other users' files. */ export declare function fileFindUploadedBy(executor: DrizzleExecutor, id: string, userId: string): Promise; //# sourceMappingURL=fileFindUploadedBy.d.ts.map