import { AnyStore } from './types';
export default class Subscription<S extends AnyStore> {
    private store;
    private unsubscribe;
    private listeners;
    onStateChange?: (...args: any) => any;
    constructor(store: S);
    notifyNestedSubs(): void;
    handleChangeWrapper: () => void;
    isSubscribed(): boolean;
    trySubscribe(): void;
    tryUnsubscribe(): void;
}
