import { type Store, type Unsubscribe } from 'redux'; export type Listener = () => void; export declare class Subscription { private readonly store; private readonly parentSub; private readonly onStateChange; private unsubscribe; private listeners; constructor(store: Store, parentSub: Subscription | null, onStateChange: () => void); addNestedSub(listener: any): Unsubscribe; notifyNestedSubs(): void; isSubscribed(): boolean; trySubscribe(): void; tryUnsubscribe(): void; }