import type { ApifoxExportOptions, OpenApiDocument, CacheOptions } from '../types/index.js'; import { CacheService } from './cache.service.js'; export declare class ApifoxService { private authConfig; private client; private cache; constructor(authConfig: { apiKey?: string; cookieToken?: string; }, cacheOptions?: CacheOptions); exportOpenApi(projectId: string, optionsOrFolderId: ApifoxExportOptions | string, url?: string): Promise<{ document: OpenApiDocument; fromCache: boolean; cacheSource?: 'memory' | 'disk'; }>; private extractMetadata; getCache(): CacheService; }