import type { CreateType } from '@/api/type';
export interface SurchargeState {
    surcharges: FdoInventorySurcharge[];
}
export declare function useSurchargeStore(): {
    readonly surcharges: {
        value?: any;
        rule?: any;
        _id: string;
        businessId: string;
        name: string;
        applyTo: "purchaseOrder";
    }[];
    browse(): Promise<void>;
    create(surcharge: CreateType<FdoInventorySurcharge>): Promise<void>;
    update(id: string, surcharge: FdoInventorySurcharge): Promise<void>;
    delete(id: string): Promise<void>;
};
