/** * @packageDocumentation * Shared reporting helper for ts-extras global static member-call replacement * rules. */ import type { TSESLint, TSESTree } from "@typescript-eslint/utils"; import type { UnknownArray } from "type-fest"; import { type ImportedValueAliasMap } from "./imported-value-symbols.js"; /** Direct named value imports collection type from shared import helper. */ type DirectNamedValueImports = ImportedValueAliasMap; /** Typed rule context shape for global-member call rules. */ type GlobalMemberRuleContext = Readonly>>; /** * Match `GlobalName.memberName(...)` calls that resolve to unshadowed globals * and report a standardized ts-extras replacement. */ export declare const reportTsExtrasGlobalMemberCall: ({ canAutofix, context, importedName, imports, memberName, messageId, minimumArgumentCount, node, objectName, reportSuggestion, suggestionMessageId, }: Readonly<{ canAutofix?: (node: Readonly) => boolean; context: GlobalMemberRuleContext; importedName: string; imports: DirectNamedValueImports; memberName: string; messageId: MessageId; minimumArgumentCount?: number; node: Readonly; objectName: string; reportSuggestion?: (input: Readonly<{ fix: TSESLint.ReportFixFunction; messageId: MessageId; node: Readonly; suggestionMessageId: MessageId; }>) => void; suggestionMessageId?: MessageId; }>) => void; export {}; //# sourceMappingURL=global-member-call-rule.d.ts.map