import { Webp } from "../libwebp/dist/webp.js"; export declare type DetectWebpImage = (image: HTMLImageElement) => boolean; export declare type DetectWebpBackground = (el: HTMLDivElement) => boolean; export interface WebpMachineOptions { webp?: Webp; webpSupport?: Promise; detectWebpImage?: DetectWebpImage; detectWebpBackground?: DetectWebpBackground; } export interface PolyfillDocumentOptions { document?: Document; selectors?: string; }