import { UploadFileInfo, UploadGenericFileInfo, UploadImageFileInfo, ImageResource, GenericResource, Resource } from "../types"; /** * Generates an S3 key and URL for an generic uploaded file (i.e. a file that * is not an image) * * The subpath should not include the root `f` dir. */ export declare function generateGenericResource({ origin, // must not end with `/` subpath, fileInfo, }: { origin: string; subpath: string; fileInfo: UploadGenericFileInfo; }): GenericResource; /** * Generate an S3 key and URL for an uploade image. * * The subpath should not include the root `f` dir. */ export declare function generateImageResource({ origin, subpath, fileInfo, }: { origin: string; subpath: string; fileInfo: UploadImageFileInfo; }): ImageResource; export declare function generateResource({ origin, subpath, fileInfo, }: { origin: string; subpath: string; fileInfo: UploadFileInfo; }): Resource;