import { type DrizzleExecutor } from "../drizzle.js"; import { type FileKind } from "./types.js"; import { type FileSummary } from "../chat/types.js"; /** * Pages complete, non-infected files attached to live messages in public or joined chats, optionally filtering kind and continuing before a file cursor. * Ordering by creation time and identifier makes the media browser stable while message expiry and chat membership remain part of every page query. */ export declare function fileList(executor: DrizzleExecutor, input: { userId: string; kind?: FileKind; before?: string; limit: number; }): Promise<{ files: FileSummary[]; nextCursor?: string; }>; //# sourceMappingURL=fileList.d.ts.map