import { NodePath } from '@babel/core'; import * as t from '@babel/types'; import { NodeStyleMap, ResolvedOptions, Style, StyleType } from '../types'; export interface Dependency { imported: string; source: string; type?: StyleType; } export default function resolveDependency(path: NodePath, nodeMap: NodeStyleMap, localStyle: Style, pluginOptions: ResolvedOptions): Dependency | null;