export interface AdditionalDiscountAutoCalcConfig {
    items: any[];
    discountOn: string | null | undefined;
    percentage: number | string;
    amount: number | string;
    setValue: (name: string, value: any) => void;
    fieldConfig: {
        percentageField: string;
        amountField: string;
    };
    netAmountField?: string;
    grossAmountField?: string;
    /**
     * When true, auto-disabled logic is bypassed.
     * Caller explicitly controls field disabled states
     * via disablePercentageField / disableAmountField.
     * Auto sync (value calculation) still works regardless.
     */
    manualDisabled?: boolean;
    disablePercentageField?: boolean;
    disableAmountField?: boolean;
}
export declare function useAdditionalDiscountAutoCalc(config: AdditionalDiscountAutoCalcConfig): {
    isPercentageDisabled: boolean;
    isAmountDisabled: boolean;
    isAmountExceeded: boolean;
    isPercentageExceeded: boolean;
};
