import type { RevisionIdMeta } from '@feedmepos/inventory-core';
export interface RecentPublish {
    recentJob?: PublishingJob | null;
    publishedRevs?: FdoAdjustmentTemplatePublish['publishedRev'] | null;
}
export interface PublishingJob {
    id: string;
    businessId: string;
    outlets: string[];
    completed: string[];
    createdAt: string;
    updatedAt: string;
}
export declare const useAdjustmentTemplateApi: () => {
    getRecentPublishingJob(): Promise<RecentPublish>;
    startNewPublish(): Promise<PublishingJob>;
    getRecentPublishInfo(): Promise<FdoAdjustmentTemplatePublish>;
    publishSingleDoc(_id: string, locationDbNames?: string[] | null): Promise<FdoAdjustmentTemplatePublish>;
    unpublishSingleDoc(_id: string, locationDbNames?: string[] | null): Promise<FdoAdjustmentTemplatePublish>;
    getTemplate(id: string): Promise<FdoAdjustmentTemplate & RevisionIdMeta>;
    readTemplates(): Promise<(FdoAdjustmentTemplate & RevisionIdMeta)[]>;
    createTemplate(template: Omit<FdoAdjustmentTemplate, '_id'>): Promise<FdoAdjustmentTemplate>;
    updateTemplate(template: FdoAdjustmentTemplate & RevisionIdMeta): Promise<FdoAdjustmentTemplate>;
    deleteTemplate(template: FdoAdjustmentTemplate & RevisionIdMeta): Promise<any>;
    importTemplates(templates: Array<(FdoAdjustmentTemplate & RevisionIdMeta) | Omit<FdoAdjustmentTemplate, '_id'>>): Promise<any>;
    getReasons(): Promise<FdoAdjustmentTemplateReason>;
    update(reason: FdoAdjustmentTemplateReason): Promise<any>;
    publishReasonDoc(locationDbNames?: string[] | null): Promise<FdoAdjustmentTemplatePublish>;
    getAuditTrails(templateId: string): Promise<FdoInventorySystemTrail[]>;
};
