import { type ReactNode } from 'react'; import type { SpinButtonHandler } from '../types.js'; /** * Hook to provide ootb value overflow behavior for spinbuttons within the group. * To achieve this, the provided children needs to be cloned to get access to the imperative handlers. * In addition to the spin button handlers, it provides an array of trigger refs. */ export declare function useValueOverflow(children: ReactNode, valueOverflow: boolean, onTrailingOverflow?: (overflowChar: string) => void, onTrailingEdge?: () => void): { clonedChildren: (string | number | bigint | Iterable | Promise | import("react").ReactElement> | import("react").ReactPortal | null | undefined> | import("react").ReactElement>)[] | null | undefined; spinButtonRefs: import("react").RefObject; triggerRefs: import("react").RefObject; }; //# sourceMappingURL=useValueOverflow.d.ts.map