1 | /// <reference types="node" />
|
2 | import { DataURI } from './types';
|
3 | declare class DataURIParser {
|
4 | fileName?: string;
|
5 | mimetype?: string;
|
6 | content?: string;
|
7 | base64?: string;
|
8 | buffer?: Buffer;
|
9 | encode(fileName: string, handler?: DataURI.Callback): Promise<string | undefined>;
|
10 | format(fileName: string, fileContent: DataURI.Input): DataURIParser;
|
11 | private createMetadata;
|
12 | }
|
13 | export = DataURIParser;
|