import { Tree } from "posthtml-parser";
import { Configuration } from "favicons";
export interface Options {
/** Root of resolving path to the image */
root?: string;
/**
* Directory to write the image files.
* @default "./dist"
*/
outDir?: string;
/** Cache results if orignal favicon has not changed? */
/** Favicon generator configuration */
configuration?: Partial;
}
/**
* @todo implement caching
*/
declare function plugin(options?: Options): (tree: Tree) => Promise;
export default plugin;