1 | /// <reference types="node" />
|
2 | import Api from './parser';
|
3 | import { ISize } from 'image-size/dist/types/interface';
|
4 | export declare namespace DataURI {
|
5 | interface CSSConfig {
|
6 | width?: boolean;
|
7 | height?: boolean;
|
8 | backgroundSize?: boolean;
|
9 | className?: string;
|
10 | dimensions?: ISize;
|
11 | }
|
12 | type Input = string | Buffer;
|
13 | type Callback = (err?: Error, content?: string, instance?: Api) => any;
|
14 | }
|