UNPKG
hackoon
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.1
0.1.0
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0
Immunefi Hackoon CLI
github.com/immunefi-team/hackoon
immunefi-team/hackoon
hackoon
/
dist
/
lib
/
ratelimit.d.ts
4 lines
(3 loc)
•
191 B
TypeScript
View Raw
1
2
3
4
import
{
JSON
Value }
from
"ai"
;
export
declare
function
isValidRateLimitObject
(
obj
:
unknown
):
unknown
;
export
declare
function
getRemainingMessagesPerHour
(
data
?:
JSON
Value[]
):
number
|
null
;