import type * as AWS from '@aws-sdk/client-s3'; import type { CollectionConfig, PayloadRequest } from 'payload'; export type SignedDownloadsConfig = { /** @default 7200 */ expiresIn?: number; shouldUseSignedURL?(args: { collection: CollectionConfig; filename: string; req: PayloadRequest; }): boolean | Promise; } | boolean; interface GetFileArgs { bucket: string; client: AWS.S3; clientUploadContext?: unknown; collection: CollectionConfig; collectionPrefix?: string; filename: string; incomingHeaders?: Headers; prefixQueryParam?: string; req: PayloadRequest; signedDownloads: SignedDownloadsConfig; useCompositePrefixes?: boolean; } export declare function getFile({ bucket, client, clientUploadContext, collection, collectionPrefix, filename, incomingHeaders, prefixQueryParam, req, signedDownloads, useCompositePrefixes, }: GetFileArgs): Promise; export {}; //# sourceMappingURL=getFile.d.ts.map