import type { AgentMetadata } from "@jixo/dev/browser"; import { Comlink } from "@jixo/dev/comlink"; export interface UIApi { renderJob(jobId: string, componentName: string, props: any): Promise<{ success: boolean; error?: string; result?: any; }>; } export declare const UIApiContext: import("@gaubee/node").Acontext>; export declare class SessionAPI { #private; readonly nid: number; readonly sessionId: string; constructor(nid: number, sessionId: string, uiApiProxy: Comlink.Remote); setWorkDir(workDir: string): Promise; whenWorkDirChanged(): Promise; getWorkDir(): Promise; hasWorkDir(): Promise; unsetWorkDir(): Promise; generateConfigFromMetadata(metadata: AgentMetadata): Promise<{ metadata: { workDir: string; agent: "common"; tools?: { exclude?: string[] | undefined; } | undefined; } | { workDir: string; agent: "coder"; codeName: string; dirs: string[]; docs: string[]; mcp: { command: string; prefix?: string | undefined; }[]; tools?: { exclude?: string[] | undefined; } | undefined; }; model: string; systemPrompt: string; tools: { name: string; description: string; parameters: any; filepath: string; disabled?: boolean | undefined; }[]; title?: string | undefined; }>; resolvePaths(paths: string[]): Promise; globFiles(patterns: string[]): Promise; ping(): Promise; } //# sourceMappingURL=SessionAPI.d.ts.map