export declare const RSRC_RE: RegExp; export declare const AMP_RE: RegExp; export declare const SCONTENT_RE: RegExp; export declare const STATIC_CDN_RE: RegExp; export declare const LOOKASIDE_RE: RegExp; export declare const INSTAGRAM_IMAGE_HOSTS: string[]; export declare const INSTAGRAM_ASSET_HOST = "static.cdninstagram.com"; export declare function proxyImageUrl(url: string, prefix?: string, secret?: string): string; export declare function proxyAssetUrl(url: string, prefix?: string, secret?: string): string; export declare function rewriteUrl(url: string, prefix?: string, secret?: string): string; export declare function rewriteUrlsInText(text: string, prefix?: string, secret?: string): string; /** * Scope CSS rules under a parent selector and strip global/page-level rules. * Removes :root, html, body selectors and @charset/@import at-rules. */ export declare function scopeCss(css: string, scopeSelector: string): string;