declare global { interface Window { [key: string]: any; } } interface ProcessPageOptions { doc?: Document; showLogs?: boolean; useSessionCache?: boolean; dontFetchResources?: boolean; fetchTimeout?: number; skipResources?: string[]; compressResources?: boolean; serializeResources?: boolean; removeReverseProxyURLPrefixes?: string[]; elements?: HTMLElement[]; } declare function processPageAndSerializePoll(options?: ProcessPageOptions): string; export default processPageAndSerializePoll;