import type { Rule } from 'eslint';
import { TSESTree } from '@typescript-eslint/utils';
/**
 * Finds the target declaration node for a given call expression.
 *
 * Traverses the AST upwards from the `callNode` to find the appropriate
 * declaration node. For global APIs, it targets the expression statement.
 * For non-global APIs, it looks for variable declarations or export
 * named declarations.
 *
 * @param callNode - The call expression node to start from.
 * @param isGlobalApi - A flag indicating whether the API is global.
 * @returns The target declaration node or null if not found.
 */
export declare const findTargetDeclarationNode: (callNode: TSESTree.CallExpression, isGlobalApi: boolean) => TSESTree.Node | null;
/**
 * Reports an issue for an empty style declaration, and provides a fix to remove the declaration.
 * @param ruleContext The ESLint rule context.
 * @param node The node to report the issue on.
 * @param callNode The CallExpression node of the style() function.
 */
export declare const reportEmptyDeclaration: (ruleContext: Rule.RuleContext, node: TSESTree.Node, callNode: TSESTree.CallExpression) => void;
