import { AnyFunction } from './core'; export declare function assert(expression: any, message?: string, verboseDebugInfo?: string | (() => string), stackCrawlMark?: AnyFunction): asserts expression; export declare function fail(message?: string, stackCrawlMark?: AnyFunction): never; export declare function assertDefined(value: T, message?: string, stackCrawlMark?: AnyFunction): asserts value is NonNullable; export declare function assertEachDefined(value: T[], message?: string, stackCrawlMark?: AnyFunction): asserts value is NonNullable[]; export declare function assertNever(member: never, message?: string, stackCrawlMark?: AnyFunction): never; export declare function getFunctionName(func: AnyFunction): any; /** * Formats an enum value as a string for debugging and debug assertions. */ export declare function formatEnum(value: number | undefined, enumObject: any, isFlags?: boolean): string; export declare function getErrorString(error: any): string; export declare function getSerializableError(error: any): Error | undefined;