import { ActionMethodOfAyanami, Ayanami } from '../core'; export interface UseAyanamiInstanceConfig { destroyWhenUnmount?: boolean; selector?: (state: S) => U; } export declare type UseAyanamiInstanceResult, S, U> = [U, ActionMethodOfAyanami]; export declare function useAyanamiInstance, S, U>(ayanami: M, config?: UseAyanamiInstanceConfig): UseAyanamiInstanceResult;