import type { OpenAPIV3, OpenAPIV3_1 } from 'openapi-types'; /** * OpenAPI document type that supports both v3.0 and v3.1 */ export type OpenAPIDocument = OpenAPIV3.Document | OpenAPIV3_1.Document; /** * Cache configuration options */ export interface CacheOptions { /** * Enable caching of generated markdown output. * @default false */ enabled: boolean; /** * Cache time-to-live in milliseconds. * @default 60000 (1 minute) */ ttl?: number; /** * Maximum number of cache entries (LRU eviction when exceeded). * @default 100 */ maxSize?: number; } /** * Configuration options for the LLMs TXT plugin. * * @interface LLMsOptions */ export interface LLMsOptions { /** * Optional header content to prepend to the processed output. */ header?: string; /** * Optional footer content to append to the processed output. */ footer?: string; /** * Source configuration specifying where to retrieve the content from. */ source: { /** * The type of source - either a local file or a remote URL. */ type: 'file' | 'url'; /** * Path to the local file when source type is "file". */ file?: string; /** * URL to the remote resource when source type is "url". * Can be a relative path (resolved against server URL) or absolute URL. */ url?: string; }; /** * The MIME type of the content being processed. * @default "text/markdown" */ contentType?: 'text/markdown' | 'text/plain'; /** * Cache configuration for performance optimization. * When enabled, the generated markdown is cached to avoid regeneration. */ cache?: CacheOptions; } //# sourceMappingURL=index.d.ts.map