UNPKG

@samouraiwallet/one-dollar-fee-estimator

Version:

A script estimating the minimum feerate required for the inclusion of a bitcoin transaction into the next block.

9 lines 487 B
import { EventEmitter } from "node:events"; export interface EventMap extends Record<string, any[]> { } export declare class TypedEventEmitter<T extends EventMap> extends EventEmitter { emit<K extends keyof T & string>(event: K, ...args: T[K]): boolean; on<K extends keyof T & string>(event: K, listener: (...args: T[K]) => void): this; off<K extends keyof T & string>(event: K, listener: (...args: T[K]) => void): this; } //# sourceMappingURL=typesafe-event-emitter.d.ts.map