import type { WebhookPersistence } from "../../runtime/types";
import type { D1DatabaseLike } from "./d1-client";
import { buildWebhookSchemaSql, DEFAULT_WEBHOOK_DELIVERY_TABLE, DEFAULT_WEBHOOK_ENDPOINT_TABLE, initializeWebhookSchema, type WebhookSchemaOptions } from "./sql-schema";
export type { D1DatabaseLike, D1PreparedStatementLike } from "./d1-client";
export { buildWebhookSchemaSql, DEFAULT_WEBHOOK_DELIVERY_TABLE, DEFAULT_WEBHOOK_ENDPOINT_TABLE, initializeWebhookSchema, };
export type { WebhookSchemaOptions };
export interface CreateD1WebhookPersistenceOptions extends WebhookSchemaOptions {
    initializeSchema?: boolean;
}
export declare function createD1WebhookPersistence(db: D1DatabaseLike, options?: CreateD1WebhookPersistenceOptions): WebhookPersistence;
