UNPKG

@aws-amplify/storage

Version:

Storage category of aws-amplify

8 lines (7 loc) 317 B
import { ToBase64 } from '../../foundation/types'; /** * Server-side `toBase64` implementation for Node.js (18+). Uses the global * `Buffer` class, available on all supported Node.js versions. We still * import from `buffer` so the dependency is explicit for bundlers. */ export declare const toBase64: ToBase64;