/** * API Scanner - Analyzes the Payments SDK API using ts-morph * Extracts method signatures, parameters, and JSDoc comments */ export interface MethodParameter { name: string; type: string; optional: boolean; description?: string; defaultValue?: string; } export interface MethodInfo { name: string; className: string; description: string; parameters: MethodParameter[]; returnType: string; examples: string[]; isAsync: boolean; } export interface APIClassInfo { name: string; description: string; methods: MethodInfo[]; } export declare class APIScanner { private project; private sdkPath; constructor(sdkPath: string); /** * Scan all API classes in the SDK */ scanAPIs(): APIClassInfo[]; /** * Scan a single class */ private scanClass; /** * Scan a single method */ private scanMethod; /** * Extract description from JSDoc */ private extractDescription; /** * Extract examples from JSDoc */ private extractExamples; /** * Extract parameter documentation from JSDoc */ private extractParamDocs; /** * Simplify TypeScript type to a human-readable string */ private simplifyType; /** * Get all API classes and their methods */ getAPISummary(): string; } //# sourceMappingURL=api-scanner.d.ts.map