import { Elysia } from 'elysia'; import type { HitLimitOptions } from '@joint-ops/hitlimit-types'; export interface ElysiaHitLimitOptions extends HitLimitOptions<{ request: Request; }> { /** * @deprecated Use `store: sqliteStore({ path })` instead. * * Starting with v1.1.0, the default store is Memory for 15.7x better performance. * If you need SQLite persistence: * * ```typescript * import { sqliteStore } from '@joint-ops/hitlimit-bun/stores/sqlite' * hitlimit({ store: sqliteStore({ path: './db.sqlite' }) }) * ``` */ sqlitePath?: string; name?: string; } export declare function hitlimit(options?: ElysiaHitLimitOptions): Elysia<"", { decorator: {}; store: {}; derive: {}; resolve: {}; }, { typebox: {}; error: {}; }, { schema: {}; standaloneSchema: {}; macro: {}; macroFn: {}; parser: {}; response: {}; }, {}, { derive: {}; resolve: {}; schema: {}; standaloneSchema: {}; response: { 200: Response; }; }, { derive: {}; resolve: {}; schema: {}; standaloneSchema: {}; response: {}; }>; //# sourceMappingURL=elysia.d.ts.map