import { PrismaService } from '../../prisma/prisma.service';
import { OrderEventsService } from './services/order-events.service';
export declare class WooCommerceWebhookController {
    private readonly prisma;
    private readonly orderEventsService;
    private readonly logger;
    constructor(prisma: PrismaService, orderEventsService: OrderEventsService);
    handleOrderWebhook(businessId: string, payload: any): Promise<{
        success: boolean;
        message: string;
        error?: undefined;
        orderId?: undefined;
        action?: undefined;
    } | {
        error: string;
        success?: undefined;
        message?: undefined;
        orderId?: undefined;
        action?: undefined;
    } | {
        success: boolean;
        orderId: string;
        action: string;
        message?: undefined;
        error?: undefined;
    }>;
    handleProductWebhook(businessId: string, payload: any, headers?: Record<string, string>): Promise<{
        success: boolean;
        message: string;
        error?: undefined;
        action?: undefined;
        externalProductId?: undefined;
        productId?: undefined;
    } | {
        error: string;
        success?: undefined;
        message?: undefined;
        action?: undefined;
        externalProductId?: undefined;
        productId?: undefined;
    } | {
        success: boolean;
        action: string;
        externalProductId: string;
        message?: undefined;
        error?: undefined;
        productId?: undefined;
    } | {
        success: boolean;
        productId: string;
        action: string;
        message?: undefined;
        error?: undefined;
        externalProductId?: undefined;
    }>;
}
