import type { UnknownArray } from "type-fest"; import { type TSESLint, type TSESTree } from "@typescript-eslint/utils"; /** * Extract the single constructor argument from `throw new TypeError(...)` * statements when the constructor resolves to the global `TypeError` binding. * * @param options - Rule context and throw statement candidate. * * @returns The single non-spread constructor argument; otherwise `null`. */ export declare const getSingleGlobalTypeErrorArgument: >({ context, throwStatement, }: Readonly<{ context: Readonly>; throwStatement: Readonly; }>) => null | TSESTree.Expression; //# sourceMappingURL=throw-type-error.d.ts.map