import { GestureResponderEvent } from 'react-native'; export interface ThrottleOptions { /** * 기본값 : true (500ms 적용) * * @example * - throttle={true} -> 기본값 500ms 적용 * - throttle={false} -> 쓰로틀 적용 안함 * - throttle={{ duration: 0 }} -> 쓰로틀 적용 안함 * - throttle={{ duration: 1000 }} -> 1000ms 적용 * - throttle={{ duration: 1000, globally: true }} -> 1000ms 적용, 전역 쓰로틀 */ throttle?: boolean | { duration: number; globally?: boolean; }; } /** * 버튼 onPress 이벤트 쓰로틀링 목적으로 개발된 훅입니다. */ export declare function useThrottledPressHandler(onPress: (event: GestureResponderEvent) => void, throttleOptions?: ThrottleOptions['throttle']): (event: GestureResponderEvent) => void;