import type { TSESTree } from "@typescript-eslint/utils"; import { ESLintUtils } from "@typescript-eslint/utils"; import ts from "typescript"; export type PluginDocs = { requiresTypeChecking?: boolean | undefined; }; export declare const createRule: ({ meta, name, ...rule }: Readonly>) => ESLintUtils.RuleModule & { name: string; }; /** * Checks if the value of the expression possibly contains properties that do not appear in its type. */ export declare function possiblyContainsUnknownProperties(node: TSESTree.Expression): boolean; /** * Matches Object method call and returns the method's name. */ export declare function matchObjectMethodCall(node: TSESTree.CallExpression): string | undefined; /** * Checks if the type is the any type. */ export declare function isAnyType(type: ts.Type): boolean; /** * Checks if the type is the non-primitive type i.e. `object`. */ export declare function isNonPrimitiveType(type: ts.Type): boolean; /** * Checks if the type has index signatures. */ export declare function hasIndexSignatures(checker: ts.TypeChecker, type: ts.Type): boolean; /** * Checks if the type has only index signatures. */ export declare function hasOnlyIndexSignatures(checker: ts.TypeChecker, type: ts.Type): boolean; //# sourceMappingURL=utils.d.ts.map