UNPKG

@samepage/backend

Version:

Backend utilities for the apis of SamePage integrations

7 lines (6 loc) 366 B
/// <reference types="node" /> import { GetObjectCommandInput } from "@aws-sdk/client-s3"; import { Readable } from "stream"; declare const downloadFile: ({ Key, }: Partial<Pick<GetObjectCommandInput, "Key">>) => Promise<Readable>; declare const downloadFileContent: (args: Parameters<typeof downloadFile>[0]) => Promise<string>; export default downloadFileContent;