export interface RunOptions { /** Workspace name (e.g. "default") */ workspace?: string; /** Additional skill paths */ skillPaths?: string[]; /** 用户提示词 */ userPrompt: string; /** 是否仅打印组装后的内容,不调 LLM */ dryRun?: boolean; /** API key,不传则从 pi 的 auth 或 OPENAI_API_KEY 读取 */ apiKey?: string; /** 模型 ID(如 deepseek-chat、qwen-max) */ model?: string; /** Provider(如 deepseek、dashscope、openai) */ provider?: string; /** Agent 配置目录,默认 ~/.openbot/agent */ agentDir?: string; } export interface RunResult { systemPrompt: string; userPrompt: string; /** 若调用了 API,则为助手回复 */ assistantContent?: string; dryRun: boolean; } export declare function run(options: RunOptions): Promise;