cloud-presign
Version:
A unified presigned URL generator for multiple cloud platforms
11 lines (10 loc) • 536 B
TypeScript
import { PresignOptions, PresignParams, PresignResponse } from './types';
/**
* Generates a presigned URL for uploading or downloading a file.
* @param params - Parameters for generating presigned URL
* @param options - Additional options for the presigned URL
* @returns Promise resolving to a presigned URL
*/
export declare function generatePresignedUrl(params: PresignParams, options?: PresignOptions): Promise<PresignResponse>;
export declare function makeFilePublic(fileName: string): Promise<void>;
export * from './types';