11 lines
297 B
TypeScript
11 lines
297 B
TypeScript
|
import { TransformAssetUrlsOptions } from './assetUrl';
|
||
|
export interface Attr {
|
||
|
name: string;
|
||
|
value: string;
|
||
|
}
|
||
|
export interface ASTNode {
|
||
|
tag: string;
|
||
|
attrs: Attr[];
|
||
|
}
|
||
|
export declare function urlToRequire(url: string, transformAssetUrlsOption?: TransformAssetUrlsOptions): string;
|