import { ESLintUtils, type TSESTree } from '@typescript-eslint/utils'; import { type Type, type TypeChecker } from 'typescript'; export declare const createRule: ({ meta, name, ...rule }: Readonly>) => ESLintUtils.RuleModule & { name: string; }; export declare const typeSymbolName: (type: Type) => string | undefined; type TypePair = Readonly<{ destinationType: Type; sourceType: Type; }>; /** * Breaks the supplied types into their union type parts and returns an array of * pairs of constituent types that are assignable. */ export declare const assignableTypePairs: (rawDestinationType: Type, rawSourceType: Type, checker: TypeChecker) => readonly TypePair[]; /** True if this expression is a literal, false otherwise. */ export declare const isLiteral: (sourceNode: TSESTree.Expression | undefined) => boolean; export {}; //# sourceMappingURL=common.d.mts.map