import type { WebhookEndpointStore } from "../../runtime/types";
import type { WebhookEndpoint } from "../../types/webhook.types";
import { type D1DatabaseLike } from "./d1-client";
export declare class D1WebhookEndpointStore implements WebhookEndpointStore {
    private readonly db;
    private readonly tableName;
    private readonly ensureInitialized;
    constructor(db: D1DatabaseLike, tableName: string, ensureInitialized: () => Promise<void>);
    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[]>;
    private toEndpoint;
}
