export { assert, assertPromise, assertDefined }; declare function assert(stmt: boolean, message?: string): asserts stmt; declare function assertPromise(value: Promise, message?: string): Promise; /** * Assert that the value is not undefined, return the value. */ declare function assertDefined(value: T | undefined, message?: string): T;