import { Domain, Effect, Event, Store, Unit } from 'effector'; import './types.d'; import { Inspector, Options } from './types.h'; export declare function createInspector(options?: Options): Inspector | undefined; export declare function addStore(store: Store, options?: { mapped?: boolean; name?: string; }): void; export declare function addEvent(event: Event, options?: { mapped?: boolean; name?: string; }): void; export declare function addEffect(effect: Effect, options?: { attached?: boolean; sid?: string; }): void; /** * * Attaches inspector to provided units * * @param root {Unit[]} - units to attach inspector to */ export declare function attachInspector(targets: Unit[]): void; /** * * Attaches inspector to provided effect. * * @param root {Store} - effect to attach inspector to */ export declare function attachInspector(target: Effect): void; /** * * Attaches inspector to provided event. * * @param root {Event} - event to attach inspector to */ export declare function attachInspector(target: Event): void; /** * * Attaches inspector to provided store. * * @param root {Store} - store to attach inspector to */ export declare function attachInspector(target: Store): void; /** * * Attaches inspector to provided domain - all units inside will be tracked * * @param root {Domain} - domain to attach inspector to */ export declare function attachInspector(root: Domain): void;