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