/// <reference types="react" />
import { CashCountingConfirmPayload, PisellCashCountingProps } from './types';
import type { PisellCashCountingModalRef } from './components/CashCountingModal/index';
export declare function usePisellCashCounting({ value, defaultValue, currencyCode, currencySymbol, amountPrecision, denominations, disabled, countDisabled, onChange, onCountConfirm, onCountCancel, }: PisellCashCountingProps): {
    modalRef: import("react").RefObject<PisellCashCountingModalRef>;
    triggerRef: import("react").RefObject<HTMLDivElement>;
    keyboardOpen: boolean;
    setKeyboardOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
    currencyDenominations: import("./types").CurrencyDenominationConfig[];
    decimalPlaces: number;
    symbol: any;
    currencyCode: any;
    currentValue: string;
    handleAmountChange: (nextValue: string | number) => void;
    handleKeyboardClose: () => void;
    openCountModal: () => void;
    handleCountCancel: () => void;
    handleCountConfirm: (payload: CashCountingConfirmPayload) => void;
    manualCountMismatchOpen: boolean;
    confirmUseCountedTotal: () => void;
    confirmKeepManualAmount: () => void;
};
