import type { AtomType } from '../atoms'; /** * If target is an Atom instance or Mediator instance, return its `atomType`, otherwise return `undefined`. * @param target anything */ export declare const getAtomType: (target: any) => AtomType | undefined; /** * Check whether the given targets are both Atom instance and in same Atom type. * @return { boolean } whether the given targets are in same type of Atom. */ export declare const isSameTypeOfAtom: (targetA: any, targetB: any) => boolean; interface IIsSameTypeOfAtom { (targetA: any): ((targetB: any) => boolean); (targetA: any, targetB: any): boolean; } /** * Curried version of `isSameTypeOfAtom`. * @see {@link isSameTypeOfAtom} */ export declare const isSameTypeOfAtom_: IIsSameTypeOfAtom; /** * Check whether the given targets are both Mediator instance and in same Mediator type. * @return { boolean } whether the given targets are in same type of Mediator. */ export declare const isSameTypeOfMediator: (targetA: any, targetB: any) => boolean; interface IIsSameTypeOfMediator { (targetA: any): ((targetB: any) => boolean); (targetA: any, targetB: any): boolean; } /** * Curried version of `isSameTypeOfMediator`. * @see {@link isSameTypeOfMediator} */ export declare const isSameTypeOfMediator_: IIsSameTypeOfMediator; export {}; //# sourceMappingURL=base.helpers.d.ts.map