import { HttpRouterService } from '@adonisjs/core/types';
import { RouteJSON } from '@adonisjs/core/types/http';
import { OpenAPIV3_1 } from 'openapi-types';
import { AKOpenAPIConfig } from '../config.js';
export default class AKOpenApiService {
    #private;
    spec: any;
    constructor(config: AKOpenAPIConfig);
    parse(router: HttpRouterService): Partial<OpenAPIV3_1.Document>;
    parseRouter(router: HttpRouterService): {
        [x: string]: OpenAPIV3_1.PathItemObject;
    };
    parseRoute(route: RouteJSON): {
        path: string;
        item: OpenAPIV3_1.PathItemObject;
    }[];
    get baseDescription(): string;
}
