import { IRateLimitState } from './rate-limit' export type AsyncFunc = () => Promise export type RateLimitUpdateFunc = (_: any) => IRateLimitState