19 lines
634 B
TypeScript
Executable file
19 lines
634 B
TypeScript
Executable file
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.dev/license
|
|
*/
|
|
/**
|
|
* Scans a CSS or Sass file and locates all valid import/use directive values as defined by the
|
|
* syntax specification.
|
|
* @param contents A string containing a CSS or Sass file to scan.
|
|
* @returns An iterable that yields each CSS directive value found.
|
|
*/
|
|
export declare function findImports(contents: string, sass: boolean): Iterable<{
|
|
start: number;
|
|
end: number;
|
|
specifier: string;
|
|
fromUse?: boolean;
|
|
}>;
|