/**
 * Test helpers index
 */

// Database
export { initTestDb, getTestDb, getTestPool, clearTestDb, closeTestDb } from "./test-db";

// Event emitters
export { emit, emitDelete, emitAccount, resetCounters, resetSeqCounter } from "./test-events";

// Test users
export {
  ALICE,
  BOB,
  CAROL,
  DAVE,
  EVE,
  FRANK,
  GRACE,
  setCurrentUser,
  getCurrentTestDid,
  resetCurrentUser,
  resolveHandle,
  resolveDid,
  getAvatar,
} from "./test-users";

// TID generation
export { generateTid, resetTidCounter } from "./tid";

// Eventual consistency (for action tests)
export {
  createAfterMock,
  createCapturingLexClient,
  captureInitialState,
  verifyEventualConsistency,
  reset as resetEventualConsistency,
  getCapturedPdsOps,
} from "./eventual-consistency";
