export interface MethodInfo { name: string; arguments: Array<{ name: string; type: string; default_value?: string; }>; return_type: string; description: string; } export interface PropertyInfo { name: string; type: string; description: string; setter?: string; getter?: string; } export interface SignalInfo { name: string; description: string; arguments: Array<{ name: string; type: string; }>; } export interface ConstantInfo { name: string; value: string; description: string; } export interface ClassInfo { name: string; inherits: string; brief_description: string; description: string; methods: MethodInfo[]; properties: PropertyInfo[]; signals: SignalInfo[]; constants: ConstantInfo[]; enums: Array<{ name: string; values: Array<{ name: string; value: string; }>; }>; } export declare function initDocs(docsPath: string): void; export declare function getInheritanceChain(className: string): string[]; export declare function getClassInfo(className: string, includeInherited?: boolean): ClassInfo | null; export declare function searchClasses(query: string, limit?: number): Array<{ name: string; inherits: string; description: string; }>; export declare function findMethod(className: string, methodName: string): MethodInfo | null; export declare function findProperty(className: string, propertyName: string): PropertyInfo | null; export declare function getCommonClasses(): string[]; export declare function getDocsVersion(): string | null; /** 测试专用:尝试从指定路径初始化文档 */ export declare function testEnsureInit(path: string): void; /** 清除 API 缓存(供测试使用) */ export declare function clearApiCache(): void;