import persist from 'node-persist'; import express from 'express'; export declare function getFridaScript(script_path: string | URL): Promise; export declare const LIMIT_REQUESTS = 4; export declare const LIMIT_PERIOD: number; export declare function checkUseLimit(storage: persist.LocalStorage, key: string, user: string, req: express.Request, /** Set to false to count the attempt but ignore the limit */ ratelimit?: boolean, limits?: [requests: number, period_ms: number]): Promise;