declare const assignmentCompatibilityHack: unique symbol; export declare type MatchingKeys = K extends (TRecord[K] extends TMatch ? K : never) ? K : never; export declare type VoidKeys = MatchingKeys; export interface TypeRecord { ' _emitterType'?: T; ' _eventsType'?: U; ' _emitType'?: V; } export declare type ReturnTypeOfMethod = T extends (...args: any[]) => any ? ReturnType : void; export declare type ReturnTypeOfMethodIfExists = S extends keyof T ? ReturnTypeOfMethod : void; export declare type InnerEEMethodReturnType = T extends (...args: any[]) => any ? ReturnType extends void | undefined ? FValue : TValue : FValue; export declare type EEMethodReturnType = S extends keyof T ? InnerEEMethodReturnType : FValue; declare type ListenerType = [T] extends [(...args: infer U) => any] ? U : [T] extends [void] ? [] : [T]; export declare type OverriddenMethods = { on

(this: T, event: P, listener: (...args: ListenerType) => void): EEMethodReturnType; on(event: typeof assignmentCompatibilityHack, listener: (...args: any[]) => any): void; addListener

(this: T, event: P, listener: (...args: ListenerType) => void): EEMethodReturnType; addListener(event: typeof assignmentCompatibilityHack, listener: (...args: any[]) => any): void; addEventListener

(this: T, event: P, listener: (...args: ListenerType) => void): EEMethodReturnType; addEventListener(event: typeof assignmentCompatibilityHack, listener: (...args: any[]) => any): void; removeListener

(this: T, event: P, listener: (...args: any[]) => any): EEMethodReturnType; removeListener(event: typeof assignmentCompatibilityHack, listener: (...args: any[]) => any): void; removeEventListener

(this: T, event: P, listener: (...args: any[]) => any): EEMethodReturnType; removeEventListener(event: typeof assignmentCompatibilityHack, listener: (...args: any[]) => any): void; once

(this: T, event: P, listener: (...args: ListenerType) => void): EEMethodReturnType; once(event: typeof assignmentCompatibilityHack, listener: (...args: any[]) => any): void; emit

(this: T, event: P, ...args: ListenerType): EEMethodReturnType; emit(event: typeof assignmentCompatibilityHack, ...args: any[]): void; }; export declare type OverriddenKeys = keyof OverriddenMethods; export declare type StrictEventEmitter = Exclude, NeededMethods extends Exclude = Exclude> = TypeRecord & Pick> & Pick, NeededMethods>; export default StrictEventEmitter; export declare type NoUndefined = T extends undefined ? never : T; export declare type StrictBroadcast, TEmitRecord extends NoUndefined = NoUndefined, VK extends VoidKeys = VoidKeys, NVK extends Exclude = Exclude> = { (event: E, request: TEmitRecord[E]): any; (event: E): any; }; export declare type EventNames, TEventRecord extends NoUndefined = NoUndefined, TEmitRecord extends NoUndefined = NoUndefined> = keyof TEmitRecord | keyof TEventRecord; export declare type OnEventNames, TEventRecord extends NoUndefined = NoUndefined, TEmitRecord extends NoUndefined = NoUndefined> = keyof TEventRecord; export declare type EmitEventNames, TEventRecord extends NoUndefined = NoUndefined, TEmitRecord extends NoUndefined = NoUndefined> = keyof TEmitRecord;