import { Elysia } from 'elysia'; import OpenAPIToMarkdownConverter from './converter'; import type { LLMsOptions } from './types'; /** * Elysia plugin that generates LLM-friendly documentation from OpenAPI specs * * @param options - Configuration options for the plugin * @returns Elysia plugin instance * * @example * ```typescript * import { Elysia } from 'elysia'; * import { llms } from '@opuu/elysia-llms-txt'; * * const app = new Elysia() * .use(llms({ source: { type: 'url', url: '/swagger/json' } })) * .listen(3000); * ``` * * @example * ```typescript * // With caching enabled * const app = new Elysia() * .use(llms({ * source: { type: 'url', url: '/swagger/json' }, * cache: { enabled: true, ttl: 60000 } * })) * .listen(3000); * ``` */ export declare const llms: (options?: LLMsOptions) => Elysia<"", { decorator: {}; store: {}; derive: {}; resolve: {}; }, { typebox: {}; error: {}; }, { schema: {}; standaloneSchema: {}; macro: {}; macroFn: {}; parser: {}; }, { "llms.txt": { get: { body: unknown; params: {}; query: unknown; headers: unknown; response: { 200: string; }; }; }; } & { "llms-full.txt": { get: { body: unknown; params: {}; query: unknown; headers: unknown; response: { 200: Response; }; }; }; }, { derive: {}; resolve: {}; schema: {}; standaloneSchema: {}; }, { derive: {}; resolve: {}; schema: {}; standaloneSchema: {}; }>; export default llms; export type { LLMsOptions }; export { OpenAPIToMarkdownConverter }; //# sourceMappingURL=index.d.ts.map