import { AgentSession, type AgentSessionOptions } from "@kenkaiiii/gg-engine/internal/core/agent-session.js"; import type { ChatAgentId } from "./types.js"; export type ChatAgentOptions = Omit & { sessionsDir: string; onAgentChange?: (agentId: ChatAgentId) => void | Promise; }; /** Folder name of GG Chat's workspace inside the projects root. */ export declare const CHAT_FOLDER_NAME = "GG Chat"; /** The chat folder for a chat cwd: older windows still point at the projects root. */ export declare function chatWorkspaceDir(cwd: string): string; export declare function chatAgentSessionsDir(coderSessionsDir: string, agentId: ChatAgentId): string; export declare function buildChatAgentSystemPrompt(agentId: ChatAgentId, rolePrompt: string, cwd: string, handoffEnabled: boolean): string; /** Create a chat agent on the shared caching/compaction spine without GG Coder behavior. */ export declare function createChatAgentSession(agentId: ChatAgentId, systemPrompt: string, options: ChatAgentOptions): AgentSession;