/** * @packageDocumentation * Shared reporting helper for typed ts-extras identifier-member call 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 typed member-call rules. */ type TypedMemberCallRuleContext = Readonly>>; /** * Match `.(...)` and report a standardized ts-extras helper * replacement when the receiver expression satisfies a caller-provided type * predicate. */ export declare const reportTsExtrasTypedMemberCall: ({ canAutofix, context, importedName, imports, isMatchingObjectExpression, memberName, messageId, node, reportSuggestion, suggestionMessageId, }: Readonly<{ canAutofix?: (node: Readonly) => boolean; context: TypedMemberCallRuleContext; importedName: string; imports: DirectNamedValueImports; isMatchingObjectExpression: (expression: Readonly) => boolean; memberName: string; messageId: MessageId; node: Readonly; reportSuggestion?: (input: Readonly<{ fix: TSESLint.ReportFixFunction; messageId: MessageId; node: Readonly; suggestionMessageId: MessageId; }>) => void; suggestionMessageId?: MessageId; }>) => void; export {}; //# sourceMappingURL=typed-member-call-rule.d.ts.map