export declare type YvEvent = EventBindFunction | EventBindCommon | EventBindSystem | EventBindDialog | EventFunction; export interface EventBindFunction { type: 'function'; bind: string; } export interface EventBindCommon { type: 'common'; bind: string; } export interface EventBindSystem { type: 'system'; bind: string; } export interface EventBindDialog { type: 'dialog'; dialogId: string; } export declare type EventFunction = (sender: SENDER, args: ARGS) => void; export declare function YvEventDispatch(event: YvEvent | undefined, sender: T, args: ARGS, scope?: any): any; export declare function YvEventDispatchArgs(event: YvEvent | undefined, sender: T, args: any[], scope?: any): any;