import type { PayloadRequest } from 'payload'; type DocWithFilenameExistsArgs = { collectionSlug: string; filename: string; path: string; req: PayloadRequest; }; export declare const docWithFilenameExists: ({ collectionSlug, filename, req, }: DocWithFilenameExistsArgs) => Promise; type GetSafeFileNameArgs = { collectionSlug: string; desiredFilename: string; req: PayloadRequest; staticPath: string; }; export declare function getSafeFileName({ collectionSlug, desiredFilename, req, staticPath, }: GetSafeFileNameArgs): Promise; export {};