/** * Copyright (c) TonTech. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import type { DebounceOptions } from '@ton/appkit'; interface ControlFunctions { cancel: () => void; flush: () => void; isPending: () => boolean; } export type DebouncedState ReturnType> = ((...args: Parameters) => ReturnType | void) & ControlFunctions; export declare function useDebounceCallback ReturnType>(func: T, delay?: number, options?: DebounceOptions): DebouncedState; export {}; //# sourceMappingURL=use-debounce-callback.d.ts.map