import { ISubscriptionRepository } from '../interfaces/subscription-repository'; import { Subscription } from '../models/subscription'; export declare class InMemorySubscriptionRepository implements ISubscriptionRepository { protected static database: any; constructor(fileName: string); delete(key: string, channel: string, endpoint: string): Promise; find(key: string, channel: string, endpoint: string): Promise; findAll(key: string, channel: string): Promise>; findChannels(key: string): Promise>; insert(key: string, channel: string, subscription: Subscription): Promise; }