import type { NodePath } from '@babel/traverse'; import type { types as t } from '@babel/core'; import State from './state'; export type MacroConditionPath = NodePath & { get(test: 'test'): NodePath & { get(callee: 'callee'): NodePath; }; }; export declare function isMacroConditionPath(path: NodePath): path is MacroConditionPath; export default function macroCondition(conditionalPath: MacroConditionPath, state: State): void;