export interface CodeIssue { title: string; body: string; labels: string[]; milestone?: string; project?: string; } export interface AnalyzeCodeOptions { mode: 'analyze'; /** * Path to the code file to analyze. * Must be an absolute path, e.g. '/Users/username/project/src/code.ts' */ codePath: string; } export interface AnalyzeResult { type: 'analyze'; mdFilePath: string; tokenCount: number; issues: CodeIssue[]; files: { analysis: string; json: string; prompt: string; openCommand: string; }; } export declare const codeAnalyzerSchema: { readonly type: "object"; readonly properties: { readonly codePath: { readonly type: "string"; readonly description: "Absolute path to the code file to analyze (e.g. /Users/username/project/src/code.ts)"; }; }; readonly required: readonly ["codePath"]; readonly additionalProperties: false; }; export declare class OpenAIError extends Error { constructor(message: string); }