import { type TSESTree } from "@typescript-eslint/utils"; /** * Match direct `(...args: Parameters) => ...` wrappers. * * @param node - Function type node to inspect. * * @returns The wrapped function type argument when the function has exactly one * rest parameter typed as `Parameters`; otherwise `null`. */ export declare const getParametersFunctionArgumentFromFunctionType: (node: Readonly) => null | Readonly; /** * Check whether a type node is `ReturnType` for a specific function. * * @param node - Candidate return type node. * @param functionType - Wrapped function type. * * @returns `true` when the node is `ReturnType`. */ export declare const isReturnTypeReferenceForFunction: (node: Readonly, functionType: Readonly) => boolean; /** * Check whether a type node is `Promise>>`. * * @param node - Candidate return type node. * @param functionType - Wrapped function type. * * @returns `true` when the node is the canonical asyncified return shape. */ export declare const isPromiseAwaitedReturnTypeReferenceForFunction: (node: Readonly, functionType: Readonly) => boolean; //# sourceMappingURL=function-type-reference-patterns.d.ts.map