import type { OAuth2Error } from "oauth4webapi"; import { isOAuth2Error } from "oauth4webapi"; type IsErrorInputs = Parameters[0]; export declare function throwIfError(result: T | OAuth2Error): Exclude; export {};