import { type TSESTree } from "@typescript-eslint/utils"; /** * Check whether an `if` consequent contains only a throw statement. * * @param node - Consequent statement to inspect. * * @returns `true` for `throw ...` and `{ throw ... }` shapes. */ export declare const isThrowOnlyConsequent: (node: Readonly) => boolean; /** * Extract the throw statement from a throw-only consequent. * * @param node - Consequent statement to inspect. * * @returns Throw statement when present; otherwise `null`. */ export declare const getThrowStatementFromConsequent: (node: Readonly) => null | TSESTree.ThrowStatement; //# sourceMappingURL=throw-consequent.d.ts.map