export declare enum DeliveryMethod { Http = "http", EventBridge = "eventbridge" } declare type WebhookHandlerFunction = (topic: string, shop_domain: string, body: string) => Promise; export interface RegisterOptions { topic: string; path: string; shop: string; accessToken: string; deliveryMethod?: DeliveryMethod; webhookHandler: WebhookHandlerFunction; } export interface RegisterReturn { success: boolean; result: unknown; } export interface WebhookRegistryEntry { path: string; topic: string; webhookHandler: WebhookHandlerFunction; } interface WebhookCheckResponseNode { node: { id: string; callbackUrl: string; }; } export interface WebhookCheckResponse { data: { webhookSubscriptions: { edges: WebhookCheckResponseNode[]; }; }; } export {}; //# sourceMappingURL=types.d.ts.map