754a988329e19f6ca61bb2fa5a5c157f710f955cfe06de9d7bbac2b3fad900534d0ee2db10e691d6e1072adf0b4f19eaae954eca340c5911974422c96d6515 671 B

1234567891011121314
  1. import ExtensionAPI from '../../core/ExtensionAPI.js';
  2. import { ZRElementEvent } from '../../util/types.js';
  3. declare type DispatchActionMethod = ExtensionAPI['dispatchAction'];
  4. declare type Handler = (currTrigger: 'click' | 'mousemove' | 'leave', event: ZRElementEvent, dispatchAction: DispatchActionMethod) => void;
  5. /**
  6. * @param {string} key
  7. * @param {module:echarts/ExtensionAPI} api
  8. * @param {Function} handler
  9. * param: {string} currTrigger
  10. * param: {Array.<number>} point
  11. */
  12. export declare function register(key: string, api: ExtensionAPI, handler?: Handler): void;
  13. export declare function unregister(key: string, api: ExtensionAPI): void;
  14. export {};