import { type PayloadHandler, type PayloadRequest, type UploadCollectionSlug } from 'payload'; type Args = { access?: (args: { collectionSlug: UploadCollectionSlug; req: PayloadRequest; }) => boolean | Promise; apiSecret: string; /** Slugs of the collections this plugin manages. Signatures may only be requested for these. */ collections: string[]; /** The configured upload folder. When set, the signed `folder` parameter must match it. */ folder?: string; }; /** * This returns a Payload handler function that generates a signature of the file which the client can then sent to cloudinary together with the file. * It is only used when clientUploads is enabled. */ export declare const getGenerateSignature: ({ access, apiSecret, collections, folder }: Args) => PayloadHandler; export {};