import { ICallbacksMap, TCallbacksAction } from '../Callbacks'; export interface IModuleStaticProps { __staticProp?: true; } export interface IModuleMutableProps { __mutableProp?: true; } export interface IModuleCallbacksMap> extends ICallbacksMap { /** * Triggered when the module is destroyed. */ destroy: undefined; /** * Triggered when the module's properties are updated. * Receives the diff (changed keys and new values) as the first argument. */ props: Partial; } export type TModuleOnCallbacksProps = Partial<{ [K in keyof T as `on${Capitalize}`]: TCallbacksAction; }>; //# sourceMappingURL=types.d.ts.map