import type { Env, Input, MiddlewareHandler } from "hono";
import type { ConfigType, GeneralConfigType } from "./types";
/**
 *
 * Create an instance of rate-limiting middleware for Hono.
 *
 * @param config {ConfigType} - Options to configure the rate limiter.
 *
 * @returns - The middleware that rate-limits clients based on your configuration.
 *
 * @public
 */
export declare function rateLimiter<E extends Env = Env, P extends string = string, I extends Input = Input>(config: GeneralConfigType<ConfigType<E, P, I>>): MiddlewareHandler<E, P, I>;
