import { AwilixContainer } from "awilix"; import Razorpay from "razorpay"; export declare function constructWebhook({ signature, body, container, }: { signature: string | string[] | undefined; body: any; container: AwilixContainer; }): Razorpay; export declare function isPaymentCollection(id: any): any; export declare function buildError(event: string, err: Error): string; export declare function handlePaymentHook({ event, container, paymentIntent, }: { event: { type: string; id: string; }; container: AwilixContainer; paymentIntent: { id: string; metadata: { cart_id?: string; resource_id?: string; }; last_payment_error?: { message: string; }; }; }): Promise<{ statusCode: number; }>;