1 | import postcss from 'postcss';
|
2 | import { ParsedValue } from './types';
|
3 | export declare type OnUrlCallback = (node: ParsedValue) => void;
|
4 | export declare function collectAssets(ast: postcss.Root): string[];
|
5 | export declare function isExternal(url: string): boolean;
|
6 | export declare function isAsset(url: string): boolean;
|
7 | export declare function makeAbsolute(resourcePath: string, rootContext: string, moduleContext: string): string;
|
8 | export declare function processDeclarationUrls(decl: postcss.Declaration, onUrl: OnUrlCallback, transform: boolean): void;
|
9 | export declare function fixRelativeUrls(ast: postcss.Root, originPath: string, targetPath: string): void;
|
10 |
|
\ | No newline at end of file |