type DependencyList = ReadonlyArray; declare function useMemoOne( // getResult changes on every call, getResult: () => T, // the inputs array changes on every call inputs: DependencyList | undefined, ): T; declare function useCallbackOne any>( // getResult changes on every call, callback: T, // the inputs array changes on every call inputs: DependencyList | undefined, ): T; export { useMemoOne, useCallbackOne, useMemoOne as useMemo, useCallbackOne as useCallback };