import type { WebhookDelivery, WebhookEndpoint } from "../types/webhook.types";
import type { WebhookDeliveryListOptions, WebhookDeliveryStore, WebhookEndpointStore, WebhookPersistence } from "./types";
export declare class InMemoryWebhookEndpointStore implements WebhookEndpointStore {
    private readonly endpoints;
    add(endpoint: WebhookEndpoint): Promise<void>;
    update(endpointId: string, endpoint: WebhookEndpoint): Promise<void>;
    remove(endpointId: string): Promise<void>;
    get(endpointId: string): Promise<WebhookEndpoint | null>;
    list(): Promise<WebhookEndpoint[]>;
}
export declare class InMemoryWebhookDeliveryStore implements WebhookDeliveryStore {
    private readonly deliveries;
    add(delivery: WebhookDelivery): Promise<void>;
    list(options?: WebhookDeliveryListOptions): Promise<WebhookDelivery[]>;
}
export declare function createInMemoryWebhookPersistence(): WebhookPersistence;
