import type { FdtoEInvoiceItemSetting } from "@/store"; import type { FdoMyEInvoiceMerchantProfile, FdoMyEInvoiceSetting, FdoMyEInvoiceSubmission, FdoThEInvoiceMerchantProfile, FdoThEInvoiceSubmission, FdoVnEInvoiceMerchantProfile, FdoVnEInvoiceSubmission, IFdtoInvoiceExportBody } from "@/type"; export type AnyEInvoiceMerchantProfile = FdoMyEInvoiceMerchantProfile | FdoThEInvoiceMerchantProfile | FdoVnEInvoiceMerchantProfile; export type AnyEInvoiceSubmission = FdoMyEInvoiceSubmission | FdoThEInvoiceSubmission | FdoVnEInvoiceSubmission; export declare const api: { getRestaurantProfile: typeof getRestaurantProfile; getMarketingProfile: typeof getMarketingProfile; getProfiles: typeof getProfiles; createProfile: typeof createProfile; updateProfile: typeof updateProfile; copyProfile: typeof copyProfile; testSubmit: typeof testSubmit; getSettings: typeof getSettings; updateSettings: typeof updateSettings; getSubmissions: typeof getSubmissions; getBusinessMenu: typeof getBusinessMenu; getBusinessMarketingMenu: typeof getBusinessMarketingMenu; sendSubmissionEmail: typeof sendSubmissionEmail; submitConsolidateInvoices: typeof submitConsolidateInvoices; getVnPdfLink: typeof getVnPdfLink; getDownloadFile: typeof getDownloadFile; }; declare function getRestaurantProfile(restaurantId: string, custom?: CustomApiConfig): Promise; declare function getMarketingProfile(businessId: string, custom?: CustomApiConfig): Promise; declare function getProfiles(businessId: string): Promise; declare function createProfile(profile: T, custom?: CustomApiConfig): Promise; declare function updateProfile(profile: T, custom?: CustomApiConfig): Promise; declare function copyProfile(fromRestaurantId: string, toRestaurantIds: string[], custom?: CustomApiConfig): Promise; declare function submitConsolidateInvoices({ merchantId, batch }: { merchantId: string; batch: number; }, custom?: CustomApiConfig): Promise; declare function testSubmit(profile: AnyEInvoiceMerchantProfile, custom?: CustomApiConfig): Promise; declare function sendSubmissionEmail(uid: string, email: string, custom?: CustomApiConfig): Promise; declare function getSettings(businessId: string, custom?: CustomApiConfig): Promise; declare function updateSettings(settings: FdoMyEInvoiceSetting, custom?: CustomApiConfig): Promise; declare function getSubmissions(merchantId: string, filter: { start: string; end: string; }, custom?: CustomApiConfig): Promise; declare function getBusinessMenu(businessId: string, custom?: CustomApiConfig): Promise; declare function getBusinessMarketingMenu(businessId: string, custom?: CustomApiConfig): Promise; declare function getVnPdfLink({ transactionId, restaurantId, businessId, }: { transactionId: string; businessId: string; restaurantId: string; }): Promise; declare function getDownloadFile(data: IFdtoInvoiceExportBody, merchantId: string, filter: { start: string; end: string; }): Promise; interface CustomApiConfig { businessId?: string; userToken?: string; } export declare function generateBackendUrl(): string; export {};