import type { ProjectKnowledge, RecommendedSkill, AgentPlatform } from '../../types/index.js';
import type { PermissionsMode } from '../../types/permissions-config.js';
import { runRulesWriter } from './rules-writer.js';
import type { PluginInstallMode, PluginInstallResult } from '../../types/plugin-install.js';
export interface ScaffoldWriteResult {
    platform: AgentPlatform;
    generatedRules: Awaited<ReturnType<typeof runRulesWriter>>['generatedRules'];
    rulesWritten: boolean;
    additionalFilesWritten: string[];
    hooksInstalled: string[];
    gitFlowType: string;
    gitignoreUpdated: boolean;
    gitRepoDetected: boolean;
    constitutionInitialized: boolean;
    claudeMdUpdated: boolean;
    eslintCreated: boolean;
    prettierCreated: boolean;
    lintSuggestions: string[];
    architectureRulesWritten: string[];
    architectureRulesSkipped: string[];
    planuWorkflowInjected: boolean;
    planuHooksConfigured: boolean;
    planuRulesWritten: boolean;
    agentTeamsRulesWritten: boolean;
    modeRulesWritten: boolean;
    responseStyleRulesWritten: boolean;
    compactSkillWritten: boolean;
    gitAutoStageInjected: boolean;
    agentsMdWritten: boolean;
    cursorRulesWritten: boolean;
    conventionsMdWritten: boolean;
    geminiConfigScaffolded: boolean;
    codexConfigScaffolded: boolean;
    multiTeammateReviewSkillWritten: boolean;
    /** SPEC-587: Whether .claude/hooks/planu-spec-sanctity.sh was installed. */
    specSanctityHookInstalled: boolean;
    /** SPEC-588: Whether .claude/agents/planu-*.md subagent files were scaffolded. */
    planuSubagentsScaffolded: boolean;
    /** SPEC-588: Number of .claude/skills/planu-*.md skill files newly created. */
    planuUxSkillsScaffolded: number;
    /** SPEC-594: Whether .claude/settings.json permissions were configured. null when skipped (no permissionsMode provided). */
    permissionsConfigured: boolean | null;
    /** SPEC-596: Plugin install result. null when skipped (no pluginsMode provided or claude CLI absent). */
    pluginsInstalled: Pick<PluginInstallResult, 'marketplaceAdded' | 'installed' | 'skipped' | 'failed'> | null;
    /** SPEC-685: Number of workflow skill files written by generateWorkflowSkills. */
    workflowSkillsWritten: number;
    /** Hosts that received Planu init assets (rules/skills/config). */
    detectedAssetHosts: string[];
    /** Number of host-aware universal rules written by init_project. */
    hostRulesWritten: number;
    /** Number of host-aware core skills written by init_project. */
    hostSkillsWritten: number;
    /** Whether OpenCode Planu assets were configured. */
    opencodeConfigScaffolded: boolean;
}
/**
 * Write all scaffold files to disk:
 * - AI rules files (platform-specific)
 * - Git hooks + .gitignore
 * - Constitution (if missing)
 * - CLAUDE.md SDD injection
 * - ESLint/Prettier config
 * - Architecture rules
 */
export declare function runScaffoldWriter(projectPath: string, projectId: string, knowledge: ProjectKnowledge, recommendedSkills: RecommendedSkill[], permissionsMode?: PermissionsMode, pluginsMode?: PluginInstallMode): Promise<ScaffoldWriteResult>;
//# sourceMappingURL=scaffold-writer.d.ts.map