import { Ayanami, ConstructorOf, ScopeConfig } from '../core'; import { UseAyanamiInstanceResult as Result } from './use-ayanami-instance'; interface Config extends Partial { selector?: (state: S) => U; } export declare function useAyanami, S, U = M extends Ayanami ? SS : never>(A: ConstructorOf, config?: M extends Ayanami ? Config : never): M extends Ayanami ? NonNullable extends Config ? Result : Result : never; export {};