import type { CreateType } from '@/api/type';
export declare const usePrintTemplateApi: () => {
    browse(): Promise<{
        type: "purchaseOrder" | "deliveryOrder" | "transferOrder" | "goodsReceivedNote";
        _id: string;
        businessId: string;
        name: string;
        updatedAt: string;
        createdAt: string;
        blocks: {
            config?: Record<string, any> | undefined;
            id: string;
            tag: string;
        }[];
    }[]>;
    read(id: string): Promise<FdoPrintTemplate>;
    create(template: CreateType<FdoPrintTemplate>): Promise<FdoPrintTemplate>;
    update(id: string, template: FdoPrintTemplate): Promise<FdoPrintTemplate>;
    delete(id: string): Promise<any>;
    urls: {
        portalBackendUrl: string;
        netSuiteBackendUrl: string;
        businessesBackendUrl: string;
        inventoryBackendUrl: string;
        foodMarketHubUrl: string;
        menuV4BackendUrl: string;
        dataBackendUrl: string;
    };
};
