import { Country, Currency, DISCOUNT_TYPE } from './index.js'; export declare enum RECURRENCE_TYPE { ONE_TIME = "oneTime", DAILY = "daily", MONTHLY = "monthly" } export declare enum SEND_INVOICE { WHATSAPP = "whatsapp", EMAIL = "email", SMS = "sms", CUSTOMER = "customer" } export interface Vat { value: number; percentage: number; isInclusive: boolean; } export interface Discount { type: DISCOUNT_TYPE; value: number; percentage?: number; flat?: number; } export interface LateFee extends Discount { recurrence: RECURRENCE_TYPE; } export interface SaveInvoiceParams { sendEmailNotification?: boolean; sendWhatsappMessage?: boolean; sendSMSNotification?: boolean; isDraft?: boolean; } export interface Item { id: string; name: string; total: number; price: number | null; quantity: number; discount: Discount; vat: Vat; } export interface InvoiceError { description: string; } export interface InvoiceInfo { items: Item[]; invoiceNumber: string; customer: { firstName: string; lastName: string; email: string; phoneNumber: string; }; selectedCurrency: Currency; isLoading: boolean; totalGrossAmount: number; totalNetAmount: number; totalVat: Vat; totalDiscount: Discount; isAdvanced: boolean; dueDate: number; expiryDate?: number; graceDate: number; note: string; frequency: string; documents: [] | File[]; country: Country; errors: any; isDragging: boolean; sendTo: string; isItemsNotValid: boolean; isAmountIsMissing: boolean; brand: { id: string; entity: { id: string; merchant: { id: string; display_name: string; legacy_id: string; }; }; name?: string; }; langCode: string; } export interface InvoiceDialog { id: string; order: number; }