/** * Gets a handler for a specific message type, prefers a public (w\o _ prefix) method, if available */ export declare function getOptionalHandler(instance: { [key: string]: any; }, messageType: string): ((...args: any) => unknown) | null; export declare function getHandler(instance: { [key: string]: any; }, messageType: string): (...args: any) => unknown;