import type { JSONSerializable } from '../utils/conversion'; import type { PubSubProviderAPI, SubscriptionCallback } from './'; export declare class PubSubProviderMemory implements PubSubProviderAPI { #private; publish(channel: string, message: JSONSerializable): Promise; subscribe(channel: string, callback: SubscriptionCallback): Promise; destroy(): Promise; } export default PubSubProviderMemory;