import { type TSESTree } from "@typescript-eslint/utils"; type TupleWrappedGuardTarget = "never" | "null" | "undefined"; /** * Determine whether a type node is the exact boolean literal type requested. */ export declare const isBooleanLiteralType: (node: Readonly, value: boolean) => boolean; /** * Return the only tuple element type when the node is a single-element tuple. */ export declare const getSingleTupleElementType: (node: Readonly) => TSESTree.TypeNode | undefined; /** * Determine whether a conditional type has exact `true` then `false` branches. */ export declare const hasTrueFalseBranches: (node: Readonly) => boolean; /** * Determine whether a conditional type has exact `false` then `true` branches. */ export declare const hasFalseTrueBranches: (node: Readonly) => boolean; /** * Extract `T` from `[T] extends [Target] ? true : false`. */ export declare const getTupleWrappedTypeGuardInput: (node: Readonly, target: TupleWrappedGuardTarget) => TSESTree.TypeNode | undefined; /** * Extract `T` from `0 extends 1 & T ? true : false`. */ export declare const getIsAnyTypeGuardInput: (node: Readonly) => TSESTree.TypeNode | undefined; /** * Extract `T` from `number extends T["length"] ? false : true`. */ export declare const getIsTupleTypeGuardInput: (node: Readonly) => TSESTree.TypeNode | undefined; export {}; //# sourceMappingURL=type-guard-conditional-patterns.d.ts.map