UNPKG

710 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google Inc. All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { UrlResolver } from './url_resolver';
9export declare class StyleWithImports {
10 style: string;
11 styleUrls: string[];
12 constructor(style: string, styleUrls: string[]);
13}
14export declare function isStyleUrlResolvable(url: string): boolean;
15/**
16 * Rewrites stylesheets by resolving and removing the @import urls that
17 * are either relative or don't have a `package:` scheme
18 */
19export declare function extractStyleUrls(resolver: UrlResolver, baseUrl: string, cssText: string): StyleWithImports;