UNPKG

replicate-api

Version:

A typed client library for the replicate.com API

4 lines (3 loc) 207 B
/** Loads a file from the filesystem and returns a base64 encoded data URL. */ export declare const loadFile: (path: string) => Promise<string>; export declare const guessMimeType: (path: string) => string;