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 | "background-size"?: boolean;
|
9 | class?: string;
|
10 | dimensions?: ISize;
|
11 | }
|
12 | type Input = string | Buffer;
|
13 | type Callback = (err?: Error, content?: string, instance?: Api) => any;
|
14 | }
|