export interface SetAgentCodeResult { ok: boolean; error?: string; hash?: string; warnings?: string[]; } export declare function getAgentCodePath(teamId: string, agentId: string): string; export declare function setAgentCode(teamId: string, agentId: string, source: string): Promise; export declare function getAgentCode(teamId: string, agentId: string): { source: string | null; bundleError: string | null; bundleHash: string | null; } | null; /** * Materialize an agent's bundle to disk so it can be spawned. * Writes only if the stored hash differs from the file's current hash, * skipping the IO for no-op re-runs. Returns the absolute file path. */ export declare function materializeAgentCode(agentId: string): string; export declare function removeAgentCodeFile(teamId: string, agentId: string): void;