export default function optimize(html: string): Promise;