declare const secret: unique symbol; declare type Secret = typeof secret; declare type IsNever = [T] extends [never] ? 1 : 0; declare type Not = T extends 1 ? 0 : 1; declare type IsAny = [T] extends [Secret] ? Not> : 0; declare type OneOf = T extends 1 ? 1 : U; export declare type IsNeverOrAny = OneOf, IsAny>; export declare class RichError extends Error { details: unknown; private constructor(); static thrower(context: string): (info?: T | undefined) => never; static throw(details?: T): never; } export declare const funcLabel: (func: Function) => string; export {}; //# sourceMappingURL=util.d.ts.map