interface FunctionAssertions { throwing: (expected?: string | RegExp | ((ex: TError) => boolean)) => void; throwingAsync: (expected?: string | RegExp | ((ex: TError) => boolean)) => Promise; } export type { FunctionAssertions };