import { OnChangeArgs, Product } from '../interfaces/Product';
import { InitialValues } from '../components/ProductCard';
interface Props {
    product: Product;
    onChange?: ({ product, count }: OnChangeArgs) => void;
    value?: number;
    initialValues?: InitialValues;
}
declare const useProduct: ({ product, onChange, value, initialValues }: Props) => {
    counter: number;
    maxCount: number | undefined;
    isMaxCountReached: boolean;
    handleIncreaseBy: (updated: number) => void;
    onReset: () => void;
};
export default useProduct;
