import {type Event} from '.' type EventParams = Partial> /** Build an event for testing purposes. */ export function buildEvent(params: EventParams): Event { return { id: '', kind: 1 as K, pubkey: '', created_at: 0, content: '', tags: [], sig: '', ...params } }