declare const _default: () => { add(this: T, name: K, fn: () => U): T & { [P in K]: U; }; }; export default _default;