// Type definitions for document-promises 3.1 // Project: https://github.com/jonathantneal/document-promises#readme // Definitions by: Tiger Oakes // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /** * document.parsed is a promise that fulfills when the document is parsed * and `readyState` is `interactive`, before deferred and async scripts have run. */ export const parsed: Promise; /** * document.contentLoaded is a promise that fulfills when the document is * parsed, blocking scripts have completed, and `DOMContentLoaded` fires. */ export const contentLoaded: Promise; /** * document.loaded is a promise that fulfills when the document is parsed, * blocking scripts have completed, images, scripts, links and sub-frames * have finished loading, and `readyState` is `complete`. */ export const loaded: Promise;