import type { WithRev, CreateType } from '@/api/type';
export declare const useSupplierApi: () => {
    readSuppliers(): Promise<WithRev<FdoSupplier>[]>;
    readLocationSuppliers(): Promise<WithRev<FdoSupplier>[]>;
    readBusinessSuppliers(): Promise<WithRev<FdoSupplier>[]>;
    createSupplier(supplier: CreateType<FdoSupplier>): Promise<WithRev<FdoSupplier>[]>;
    importSuppliers(suppliers: (FdoSupplier | CreateType<FdoSupplier>)[]): Promise<void>;
    updateSupplier(supplier: FdoSupplier): Promise<WithRev<FdoSupplier>[]>;
    deleteSupplier(supplier: FdoSupplier): Promise<WithRev<boolean>>;
};
