/** * @param {string} html * Convert any HTML string to new Document */ export declare function formatNextDocument(html: string): Document; /** * @param {Document} nextDoc * Replace Body */ export declare function replaceBody(nextDoc: Document): void; /** * @param {Document} nextDoc * Merge new head data */ export declare function mergeHead(nextDoc: Document): void; /** * Runs JS in the fetched document * head scripts will only run with data-reload attr * all body scripts will run */ export declare function runScripts(): void;