import { type AnyEInvoiceMerchantProfile } from "@/api"; import type { FdoMyEInvoiceSetting } from "@/type"; import type { MarketingEInvoice, MerchantEInvoice, RestaurantEInvoice } from "@/types"; import type { EInvoiceManager } from "@/views/manager/manager"; export interface AppLoading { message: string; exec: () => Promise | void; } export interface FdtoEInvoiceItemSetting { id: string; name: string; exempted: boolean; reason: string; } export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app", Pick<{ restaurants: import("vue").Ref, Record>; marketing: import("vue").Ref<{ id: string; name: string; code: string; thumbnail: string; customAttributes: { [key: string]: string; }; type: "marketing"; profile: { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; email?: string | null | undefined; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; branchCode?: string | null | undefined; taxRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; } | { phoneNo?: string | null | undefined; email: string; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; email: string; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; branchCode?: string | null | undefined; taxRegNo: string; }; businessId: string; } | null, MarketingEInvoice | { id: string; name: string; code: string; thumbnail: string; customAttributes: { [key: string]: string; }; type: "marketing"; profile: { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; email?: string | null | undefined; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; branchCode?: string | null | undefined; taxRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; } | { phoneNo?: string | null | undefined; email: string; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; email: string; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; branchCode?: string | null | undefined; taxRegNo: string; }; businessId: string; } | null>; settings: import("vue").Ref<{ _id: string; businessId: string; items: Record; } | null, { _id: string; businessId: string; items: Record; } | { _id: string; businessId: string; items: Record; } | null>; menu: import("vue").Ref<{ id: string; name: string; exempted: boolean; reason: string; }[], FdtoEInvoiceItemSetting[] | { id: string; name: string; exempted: boolean; reason: string; }[]>; marketingMenu: import("vue").Ref<{ id: string; name: string; exempted: boolean; reason: string; }[], FdtoEInvoiceItemSetting[] | { id: string; name: string; exempted: boolean; reason: string; }[]>; manager: import("vue").ComputedRef; locations: import("vue").ComputedRef; countryTaxes: import("vue").ComputedRef<{ [code: string]: { taxLevel?: number | null | undefined; name: string; default: boolean; taxCode: string; systemCode: string; rate: { amount: number; precision: number; }; }; }>; exemptedTax: import("vue").ComputedRef<{ taxLevel?: number | null | undefined; name: string; default: boolean; taxCode: string; systemCode: string; rate: { amount: number; precision: number; }; } | null>; getRestaurants: () => Promise>; setRestaurant: (profile: AnyEInvoiceMerchantProfile) => void; getMarketing: () => Promise; getSettings: () => Promise; updateSettings: (newSettings: FdoMyEInvoiceSetting) => Promise; getMenu: () => Promise; getMarketingMenu: () => Promise; }, "marketing" | "restaurants" | "settings" | "menu" | "marketingMenu">, Pick<{ restaurants: import("vue").Ref, Record>; marketing: import("vue").Ref<{ id: string; name: string; code: string; thumbnail: string; customAttributes: { [key: string]: string; }; type: "marketing"; profile: { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; email?: string | null | undefined; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; branchCode?: string | null | undefined; taxRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; } | { phoneNo?: string | null | undefined; email: string; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; email: string; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; branchCode?: string | null | undefined; taxRegNo: string; }; businessId: string; } | null, MarketingEInvoice | { id: string; name: string; code: string; thumbnail: string; customAttributes: { [key: string]: string; }; type: "marketing"; profile: { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; email?: string | null | undefined; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; branchCode?: string | null | undefined; taxRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; } | { phoneNo?: string | null | undefined; email: string; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; email: string; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; branchCode?: string | null | undefined; taxRegNo: string; }; businessId: string; } | null>; settings: import("vue").Ref<{ _id: string; businessId: string; items: Record; } | null, { _id: string; businessId: string; items: Record; } | { _id: string; businessId: string; items: Record; } | null>; menu: import("vue").Ref<{ id: string; name: string; exempted: boolean; reason: string; }[], FdtoEInvoiceItemSetting[] | { id: string; name: string; exempted: boolean; reason: string; }[]>; marketingMenu: import("vue").Ref<{ id: string; name: string; exempted: boolean; reason: string; }[], FdtoEInvoiceItemSetting[] | { id: string; name: string; exempted: boolean; reason: string; }[]>; manager: import("vue").ComputedRef; locations: import("vue").ComputedRef; countryTaxes: import("vue").ComputedRef<{ [code: string]: { taxLevel?: number | null | undefined; name: string; default: boolean; taxCode: string; systemCode: string; rate: { amount: number; precision: number; }; }; }>; exemptedTax: import("vue").ComputedRef<{ taxLevel?: number | null | undefined; name: string; default: boolean; taxCode: string; systemCode: string; rate: { amount: number; precision: number; }; } | null>; getRestaurants: () => Promise>; setRestaurant: (profile: AnyEInvoiceMerchantProfile) => void; getMarketing: () => Promise; getSettings: () => Promise; updateSettings: (newSettings: FdoMyEInvoiceSetting) => Promise; getMenu: () => Promise; getMarketingMenu: () => Promise; }, "manager" | "locations" | "countryTaxes" | "exemptedTax">, Pick<{ restaurants: import("vue").Ref, Record>; marketing: import("vue").Ref<{ id: string; name: string; code: string; thumbnail: string; customAttributes: { [key: string]: string; }; type: "marketing"; profile: { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; email?: string | null | undefined; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; branchCode?: string | null | undefined; taxRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; } | { phoneNo?: string | null | undefined; email: string; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; email: string; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; branchCode?: string | null | undefined; taxRegNo: string; }; businessId: string; } | null, MarketingEInvoice | { id: string; name: string; code: string; thumbnail: string; customAttributes: { [key: string]: string; }; type: "marketing"; profile: { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; email?: string | null | undefined; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; branchCode?: string | null | undefined; taxRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; } | { phoneNo?: string | null | undefined; email: string; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; email: string; queryToken?: string | null | undefined; branchCode?: string | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; taxRegNo: string; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; msicCode: string; sstRegNo: string; } | { phoneNo?: string | null | undefined; active?: string | null | undefined; schedule?: { day: number; hour: number; } | null | undefined; queryToken?: string | null | undefined; appid?: string | null | undefined; username?: string | null | undefined; password?: string | null | undefined; templateId?: string | null | undefined; isDev?: boolean | null | undefined; type: "marketing"; name: string; _id: string; address: { coordinates?: number[] | null | undefined; line2?: string | null | undefined; state: string; country: string; line1: string; city: string; postcode: string; }; businessId: string; regNo: string; tinNo: string; email: string; branchCode?: string | null | undefined; taxRegNo: string; }; businessId: string; } | null>; settings: import("vue").Ref<{ _id: string; businessId: string; items: Record; } | null, { _id: string; businessId: string; items: Record; } | { _id: string; businessId: string; items: Record; } | null>; menu: import("vue").Ref<{ id: string; name: string; exempted: boolean; reason: string; }[], FdtoEInvoiceItemSetting[] | { id: string; name: string; exempted: boolean; reason: string; }[]>; marketingMenu: import("vue").Ref<{ id: string; name: string; exempted: boolean; reason: string; }[], FdtoEInvoiceItemSetting[] | { id: string; name: string; exempted: boolean; reason: string; }[]>; manager: import("vue").ComputedRef; locations: import("vue").ComputedRef; countryTaxes: import("vue").ComputedRef<{ [code: string]: { taxLevel?: number | null | undefined; name: string; default: boolean; taxCode: string; systemCode: string; rate: { amount: number; precision: number; }; }; }>; exemptedTax: import("vue").ComputedRef<{ taxLevel?: number | null | undefined; name: string; default: boolean; taxCode: string; systemCode: string; rate: { amount: number; precision: number; }; } | null>; getRestaurants: () => Promise>; setRestaurant: (profile: AnyEInvoiceMerchantProfile) => void; getMarketing: () => Promise; getSettings: () => Promise; updateSettings: (newSettings: FdoMyEInvoiceSetting) => Promise; getMenu: () => Promise; getMarketingMenu: () => Promise; }, "getRestaurants" | "setRestaurant" | "getMarketing" | "getSettings" | "updateSettings" | "getMenu" | "getMarketingMenu">>;