type Dict = Record; declare module 'updux' { /** * Configuration object typically passed to the constructor of the class Updux. */ export interface UpduxConfig { /** * Local initial state. * @default {} */ initial?: TState; /** * Subduxes to be merged to this dux. */ subduxes?: Dict; /** * Local actions. */ actions?: Record; /** * Local selectors. */ selectors?: Record; /** * Local mutations */ mutations?: Record; /** * Selectors to apply to the mapped subduxes. Only * applicable if the dux is a mapping dux. */ mappedSelectors?: Record; /** * Local effects. */ effects?: Record; /** * Local reactions. */ reactions?: Record; /** * If true, enables mapped reactions. Additionally, it can be * a reaction function, which will treated as a regular * reaction for the mapped dux. */ mappedReaction?: Function | boolean; } export class Updux { constructor(config: Partial>); get initial(): TState; get selectors(): unknown; } }