// No @types/node in this project (kept dependency-free), so these are the
// minimal ambient declarations node --test and node:assert/strict need to
// type-check under tsconfig.test.json's DOM-flavoured lib.
declare module 'node:test' {
  export function test(name: string, fn: () => void | Promise<void>): void;
}

declare module 'node:assert/strict' {
  interface Assert {
    equal(actual: unknown, expected: unknown, message?: string): void;
    deepEqual(actual: unknown, expected: unknown, message?: string): void;
  }
  const assert: Assert;
  export default assert;
}
