export declare const SKILL_INSTALL_PLATFORMS: readonly ["claude", "gemini", "codex", "opencode", "aider", "claw", "droid", "trae", "trae-cn", "copilot", "windows"]; export type SkillInstallPlatform = (typeof SKILL_INSTALL_PLATFORMS)[number]; export declare const INSTALL_PLATFORMS: readonly ["claude", "gemini", "codex", "opencode", "aider", "claw", "droid", "trae", "trae-cn", "copilot", "windows", "cursor"]; export type InstallPlatform = (typeof INSTALL_PLATFORMS)[number]; export declare const AGENT_PLATFORMS: readonly ["codex", "opencode", "aider", "claw", "droid", "trae", "trae-cn"]; export type AgentPlatform = (typeof AGENT_PLATFORMS)[number]; export declare const MCP_TOOL_PROFILES: readonly ["core", "strict", "full"]; export type McpToolProfile = (typeof MCP_TOOL_PROFILES)[number]; export declare const INSTALL_PROFILES: readonly ["core", "strict", "full"]; export type InstallProfile = (typeof INSTALL_PROFILES)[number]; export declare const CLAUDE_PROMPT_HOOK_SCRIPT_RELATIVE_PATH = ".claude/madar-user-prompt-submit.cjs"; export declare const CODEX_PROMPT_HOOK_SCRIPT_RELATIVE_PATH = ".codex/madar-user-prompt-submit.cjs"; export declare const CODEX_MCP_CONFIG_RELATIVE_PATH = ".codex/config.toml"; export declare const CODEX_MCP_STARTUP_TIMEOUT_SECONDS = 180; export declare const CODEX_MCP_TOOL_TIMEOUT_SECONDS = 60; interface InstallSkillOptions { homeDir?: string; packageRoot?: string; version?: string; } interface McpInstallOptions { profile?: InstallProfile; } type GeminiInstallOptions = InstallSkillOptions & McpInstallOptions; export declare function isMadarProjectHook(hook: unknown, matcher?: string): boolean; export declare function isMadarCodexLegacyHook(hook: unknown): boolean; export declare function codexPromptHookCommand(): string; export declare function claudePromptHookCommand(): string; export declare function isCurrentMadarClaudePromptHook(hook: unknown, expectedCommand: string): boolean; export declare function isMadarCodexPromptHook(hook: unknown): boolean; export declare function isCurrentMadarCodexPromptHook(hook: unknown, expectedCommand: string): boolean; export declare function isMadarCodexHook(hook: unknown): boolean; export declare const OPENCODE_PLUGIN_RELATIVE_PATH = ".opencode/plugins/madar.js"; export declare const OPENCODE_MCP_SERVER_NAME = "madar"; export declare function hasManagedClaudePromptHookScript(scriptPath: string): boolean; export declare function hasManagedCodexPromptHookScript(scriptPath: string): boolean; export declare function resolveOpencodeConfigPath(projectDir: string): string; export declare function readOpencodeConfig(filePath: string): Record; export declare function resolveCodexMcpConfigPath(): string; export declare function isMadarCodexMcpConfig(content: string, projectDir: string): boolean; export declare function defaultInstallPlatform(nodePlatform?: NodeJS.Platform): InstallPlatform; export declare function isInstallPlatform(value: string): value is InstallPlatform; export declare function isAgentPlatform(value: string): value is AgentPlatform; export declare function isMcpToolProfile(value: string): value is McpToolProfile; export declare function isInstallProfile(value: string): value is InstallProfile; export declare function installSkill(platform: SkillInstallPlatform, options?: InstallSkillOptions): string; export declare function uninstallSkill(platform: SkillInstallPlatform, options?: Pick): string; export declare function geminiInstall(projectDir?: string, options?: GeminiInstallOptions): string; export declare function geminiUninstall(projectDir?: string, options?: Pick): string; export declare function installCopilotMcp(projectDir?: string, options?: McpInstallOptions, packageRoot?: string): string; export declare function uninstallCopilotMcp(projectDir?: string): string; export declare function cursorInstall(projectDir?: string, options?: McpInstallOptions): string; export declare function cursorUninstall(projectDir?: string): string; export declare function claudeInstall(projectDir?: string, options?: McpInstallOptions): string; export declare function claudeUninstall(projectDir?: string): string; export declare function agentsInstall(projectDir: string | undefined, platform: AgentPlatform, options?: Pick): string; export declare function agentsUninstall(projectDir: string | undefined, platform: AgentPlatform): string; export {};