import type { ObjectOf } from "../../Types"; export declare type Macro = (...arg: any[]) => any; declare class Macroable { protected static macros: ObjectOf; /** * Register a custom macro */ static macro(name: string, macro: Macro): void; /** * Check if macro is registered */ static hasMacro(name: string): boolean; /** * Flush the existing macros */ static flushMacros(): void; /** * Dynamically handle call to the class */ protected static __getStatic(method: string): any; /** * Dynamically handle call to the class */ protected __get(method: string): any; } declare const _default: typeof Macroable; export default _default;