export interface CustomCommand { name: string; description: string; prompt: string; filePath: string; } /** * Load custom slash commands from {cwd}/.gg/commands/*.md * Each .md file becomes a slash command. Frontmatter provides name/description, * and the body becomes the prompt injected into the agent. */ export declare function loadCustomCommands(cwd: string): Promise; /** * Custom commands from every workspace root: the project first, then each * folder added to it (`/add-dir`, a goal's attached repos). A name already * taken by an earlier root is skipped, so the project's own command wins. */ export declare function loadWorkspaceCustomCommands(roots: readonly string[]): Promise;