import type { RevisionIdMeta } from '@feedmepos/inventory-core';
export declare const usePurchaseOrderTemplateApi: () => {
    getTemplate(id: string): Promise<FdoPurchaseOrderTemplate & RevisionIdMeta>;
    getTemplateBySupplierId(supplierId: string): Promise<(FdoPurchaseOrderTemplate & RevisionIdMeta)[]>;
    readTemplates(): Promise<(FdoPurchaseOrderTemplate & RevisionIdMeta)[]>;
    createTemplate(template: Omit<FdoPurchaseOrderTemplate, '_id'>): Promise<FdoPurchaseOrderTemplate>;
    updateTemplate(template: FdoPurchaseOrderTemplate): Promise<FdoPurchaseOrderTemplate>;
    deleteTemplate(template: FdoPurchaseOrderTemplate): Promise<any>;
    importTemplates(templates: Array<(FdoPurchaseOrderTemplate & RevisionIdMeta) | Omit<FdoPurchaseOrderTemplate, '_id'>>): Promise<any>;
};
