import type { NodePath } from '@babel/traverse'; import * as t from '@babel/types'; /** * Checks if a JSX element refers to a class or custom element based on TypeScript type information. * * Returns: * - `true` if the element is a class constructor or string literal (should be treated as static/custom element) * - `false` if the element is a function component (should be treated as dynamic) * - `undefined` if type checking is not available or the type cannot be determined */ export declare const isClassOrCustomElementByType: (path: NodePath, filename: string, code: string) => boolean | undefined; /** * Checks if a JSX element refers to a class (not a string literal) based on TypeScript type information. * * Returns: * - `true` if the element is a class constructor (should use .tagName accessor) * - `false` if the element is a string literal or function component * - `undefined` if type checking is not available or the type cannot be determined */ export declare const isClassByType: (path: NodePath, filename: string, code: string) => boolean | undefined; //# sourceMappingURL=type-utils.d.ts.map