export declare type Subscriber = (payload: S) => void; export interface Subscription { notify?: (payload: S) => void | boolean; filter?: (payload: S) => any; }