import { type DrizzleExecutor } from "../drizzle.js"; /** * Soft-deletes a files row only when the actor owns it and no message, profile, emoji, export, or other durable reference still uses it. * Performing the reference checks beside the guarded update prevents cleanup from invalidating content that became linked concurrently. */ export declare function fileDeleteOwnedUnreferenced(executor: DrizzleExecutor, id: string, userId: string, reason?: string): Promise<"deleted" | "not_found" | "in_use">; //# sourceMappingURL=fileDeleteOwnedUnreferenced.d.ts.map