import { type HttpFilterExpression, type SerializedThymianFormat, type ThymianNode, type ThymianPlugin } from '@thymian/core'; import type { OpenAPI } from 'openapi-types'; import type { ServerInfo } from './processors/extract-server-info.js'; declare module '@thymian/core' { interface ThymianHttpRequest { extensions: { openapi: { operationId?: string; }; }; } interface SecurityScheme { extensions: { openapi: { schemeName: string; }; }; } interface ThymianFormat { getNodeByExtension(extensionName: 'openapi', values: { operationId: string; }): ThymianNode | undefined; } interface ThymianEvents { 'openapi.document': { document: OpenAPI.Document; filePath?: string; }; } interface ThymianActions { 'openapi.transform': { event: { filter?: HttpFilterExpression; content: string; }; response: SerializedThymianFormat; }; } } export declare const defaultServerInfo: ServerInfo; export declare const openApiPlugin: ThymianPlugin; export default openApiPlugin; export { searchForOpenApiFiles } from './search-for-openapi-files.js'; //# sourceMappingURL=index.d.ts.map