export interface IModel { getNamespace(): string; getInitState(): TModelState; } export declare type ModelState | string> = M extends IModel ? P : any;