import React from 'react'; import './General.scss'; export interface Coupon { coupon: string; status: number; description: string; discountAmount: number; freeShipping: number; startDate: { text: string; value: string; }; endDate: { text: string; value: string; }; targetProducts?: { products: { productId: number; productName: string; }[]; maxQty: number; }; buyxGety?: { items: { productId: number; productName: string; qty: number; discount: number; }[]; }; discountType?: string; condition?: { orderTotal?: number; orderQty?: number; requiredProducts?: { key: string; operator: string; value: string; qty: number; }[]; }; userCondition?: { groups?: number[] | string[]; emails?: string[]; purchased: number; }; } export default function General({ coupon }: { coupon?: Coupon; }): React.JSX.Element; export declare const layout: { areaId: string; sortOrder: number; }; export declare const query = "\n query Query {\n coupon(id: getContextValue('couponId', null)) {\n coupon\n status\n description\n discountAmount\n freeShipping\n startDate {\n text\n }\n endDate {\n text\n }\n }\n }\n";