/** * Init command implementation — uses SDK * Scaffolds a new Squad project with templates, workflows, and directory structure */ /** * Detect if the target directory is inside a parent git repo. * Returns the normalized git root path if a parent repo is detected, * or null if dest IS the git root or no git repo exists. */ export declare function detectParentGitRepo(dest: string): string | null; /** True when animations should be suppressed (NO_COLOR, dumb term, non-TTY). */ export declare function isInitNoColor(): boolean; /** Typewriter effect — falls back to instant print when animations disabled. */ export declare function typewrite(text: string, charMs?: number): Promise; /** * Options for the init command. */ export interface RunInitOptions { /** Project description prompt — stored for REPL auto-casting. */ prompt?: string; /** If true, disable extraction from consult sessions (read-only consultations) */ extractionDisabled?: boolean; /** If false, skip GitHub workflow installation (default: true) */ includeWorkflows?: boolean; /** If true, generate squad.config.ts with SDK builder syntax (default: false) */ sdk?: boolean; /** If true, use built-in base roles instead of fictional universe casting (default: false) */ roles?: boolean; /** If true, this is a global (personal squad) init — bootstrap personal-squad/ dir */ isGlobal?: boolean; /** State backend to configure at init time (local, orphan, two-layer) */ stateBackend?: string; /** If true, write MCP server config into squad.agent.md frontmatter instead of .copilot/mcp-config.json */ mcpFrontmatter?: boolean; /** If false, skip writing "chat.newSession.defaultMode": "Squad" to .vscode/settings.json (default: true) */ includeVscodeDefault?: boolean; } /** * Main init command handler */ export declare function runInit(dest: string, options?: RunInitOptions): Promise; //# sourceMappingURL=init.d.ts.map