// Type definitions for inline-css // Project: https://github.com/jonkemp/inline-css // Definitions by: Philip Spain // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.2 import Promise = require('bluebird'); declare namespace InlineCss { export interface Options { url: string; extraCss?: string; applyStyleTags?: boolean; applyLinkTags?: boolean; removeStyleTags?: boolean; removeLinkTags?: boolean; preserveMediaQueries?: boolean; applyWidthAttributes?: boolean; applyTableAttributes?: boolean; } } declare function InlineCss(html: string, options: InlineCss.Options): Promise; export = InlineCss;