import { PayloadRequest } from "payload"; //#region src/server/files.d.ts declare const fileExists: (filePath: string) => Promise; type DocWithFilenameExistsArgs = { collectionSlug: string; filename: string; path: string; req: PayloadRequest; }; declare const docWithFilenameExists: ({ collectionSlug, filename, req }: DocWithFilenameExistsArgs) => Promise; type GetSafeFileNameArgs = { collectionSlug: string; desiredFilename: string; req: PayloadRequest; staticPath: string; }; declare const getSafeFileName: ({ collectionSlug, desiredFilename, req, staticPath }: GetSafeFileNameArgs) => Promise; //#endregion export { docWithFilenameExists, fileExists, getSafeFileName }; //# sourceMappingURL=files.d.ts.map