import { z } from "zod"; export declare const eccProfileSchema: z.ZodObject<{ version: z.ZodLiteral<1>; source: z.ZodObject<{ repository: z.ZodLiteral<"affaan-m/ECC">; commit: z.ZodString; package: z.ZodLiteral<"ecc-universal">; packageVersion: z.ZodString; releaseAncestorCommit: z.ZodString; componentPath: z.ZodString; sourceHash: z.ZodString; normalizedHash: z.ZodString; manifestPins: z.ZodObject<{ "manifests/install-components.json": z.ZodObject<{ rawSha256: z.ZodLiteral<"8eac72d3ab4eb41dc6feabadc7f80603999631186aeeb74b0e31019496054ed5">; canonicalSha256: z.ZodLiteral<"2a16746d95a3ee19dc448ccdfdc0e54ef983085245f2d804f615df277ea14665">; }, z.core.$strict>; "manifests/install-modules.json": z.ZodObject<{ rawSha256: z.ZodLiteral<"9293e36a93d62d9016cf8eb13e852a882ac5b68503a5842de230c7d21431bbb7">; canonicalSha256: z.ZodLiteral<"917a4f6961252078a9e8f43eccbe241ef1793f4d8d9d1f170873b824da6bb238">; }, z.core.$strict>; "manifests/install-profiles.json": z.ZodObject<{ rawSha256: z.ZodLiteral<"fddc15a7ea59c5069686eacd5ef90da805b867bed39ddad3ca391363329270f1">; canonicalSha256: z.ZodLiteral<"ec57372aa886af63f6b847eee2c285d672dc35ff48b9ca2da939e215e566c2cb">; }, z.core.$strict>; }, z.core.$strict>; license: z.ZodLiteral<"MIT">; reviewReceipt: z.ZodObject<{ id: z.ZodString; evidencePath: z.ZodString; sourceCommit: z.ZodString; evidenceSha256: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; selections: z.ZodObject<{ baseline: z.ZodTuple<[z.ZodLiteral<"core">, z.ZodLiteral<"lang:typescript">], null>; activeSkills: z.ZodArray; warmReserveSkills: z.ZodArray; coldReserve: z.ZodLiteral<"all-other-pinned-skills">; }, z.core.$strict>; expected: z.ZodObject<{ skills: z.ZodLiteral<136>; roles: z.ZodLiteral<67>; workflows: z.ZodLiteral<94>; }, z.core.$strict>; profileFlags: z.ZodObject<{ defaultOn: z.ZodTuple<[z.ZodLiteral<"continuity">, z.ZodLiteral<"mcp-health">, z.ZodLiteral<"repository-protection">], null>; userOptIn: z.ZodTuple<[z.ZodLiteral<"learning">, z.ZodLiteral<"personal-observability">], null>; onDemand: z.ZodTuple<[z.ZodLiteral<"plan-canvas">], null>; }, z.core.$strict>; mcpPolicy: z.ZodObject<{ selected: z.ZodTuple<[z.ZodLiteral<"code-review-graph">, z.ZodLiteral<"codebase-memory-mcp">, z.ZodLiteral<"context7">, z.ZodLiteral<"serena">], null>; disabled: z.ZodTuple<[z.ZodLiteral<"ecc-memory-mcp">, z.ZodLiteral<"github">, z.ZodLiteral<"sequential-thinking">, z.ZodLiteral<"token-savior">], null>; activation: z.ZodLiteral<"aih-owned-native-registration">; }, z.core.$strict>; aihAdaptedWorkflows: z.ZodTuple<[z.ZodLiteral<"/auto-update">, z.ZodLiteral<"/hookify">, z.ZodLiteral<"/hookify-configure">, z.ZodLiteral<"/project-init">], null>; localPlannedSkills: z.ZodTuple<[z.ZodLiteral<"learn-eval">, z.ZodLiteral<"session-continuity">], null>; repoCuratedSkills: z.ZodTuple<[z.ZodLiteral<"betterdoc">, z.ZodLiteral<"decision-partner">], null>; ownership: z.ZodArray; mergeStrategy: z.ZodEnum<{ "json-merge": "json-merge"; "jsonc-merge": "jsonc-merge"; replace: "replace"; "toml-merge": "toml-merge"; }>; previousHash: z.ZodNullable; }, z.core.$strict>>; state: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; lifecycle: z.ZodLiteral<"active">; }, z.core.$strict>; }, z.core.$strict>; export type EccProfile = z.infer; export declare const AIH_ECC_PROFILE_TEMPLATE: { readonly version: 1; readonly source: { readonly repository: "affaan-m/ECC"; readonly commit: "0c1d7be9a750627fb2a6534c78a998cc46d03f9c"; readonly package: "ecc-universal"; readonly packageVersion: "2.1.0"; readonly releaseAncestorCommit: "4da6deac1888690e7fb8572d097ee23db630f7a0"; readonly componentPath: "manifests/install-components.json"; readonly sourceHash: "8eac72d3ab4eb41dc6feabadc7f80603999631186aeeb74b0e31019496054ed5"; readonly normalizedHash: "8eac72d3ab4eb41dc6feabadc7f80603999631186aeeb74b0e31019496054ed5"; readonly manifestPins: { readonly "manifests/install-components.json": { readonly rawSha256: "8eac72d3ab4eb41dc6feabadc7f80603999631186aeeb74b0e31019496054ed5"; readonly canonicalSha256: "2a16746d95a3ee19dc448ccdfdc0e54ef983085245f2d804f615df277ea14665"; }; readonly "manifests/install-modules.json": { readonly rawSha256: "9293e36a93d62d9016cf8eb13e852a882ac5b68503a5842de230c7d21431bbb7"; readonly canonicalSha256: "917a4f6961252078a9e8f43eccbe241ef1793f4d8d9d1f170873b824da6bb238"; }; readonly "manifests/install-profiles.json": { readonly rawSha256: "fddc15a7ea59c5069686eacd5ef90da805b867bed39ddad3ca391363329270f1"; readonly canonicalSha256: "ec57372aa886af63f6b847eee2c285d672dc35ff48b9ca2da939e215e566c2cb"; }; }; readonly license: "MIT"; }; readonly selections: { readonly baseline: readonly ["core", "lang:typescript"]; readonly activeSkills: string[]; readonly warmReserveSkills: readonly ["benchmark", "benchmark-methodology", "benchmark-optimization-loop", "canary-watch", "deep-research", "deployment-patterns", "gateguard", "parallel-execution-optimizer", "research-ops", "safety-guard", "team-agent-orchestration"]; readonly coldReserve: "all-other-pinned-skills"; }; readonly expected: { readonly skills: 136; readonly roles: 67; readonly workflows: 94; }; readonly profileFlags: { readonly defaultOn: readonly ["continuity", "mcp-health", "repository-protection"]; readonly userOptIn: readonly ["learning", "personal-observability"]; readonly onDemand: readonly ["plan-canvas"]; }; readonly mcpPolicy: { readonly selected: readonly ["code-review-graph", "codebase-memory-mcp", "context7", "serena"]; readonly disabled: readonly ["ecc-memory-mcp", "github", "sequential-thinking", "token-savior"]; readonly activation: "aih-owned-native-registration"; }; readonly aihAdaptedWorkflows: readonly ["/auto-update", "/hookify", "/hookify-configure", "/project-init"]; readonly localPlannedSkills: readonly ["learn-eval", "session-continuity"]; readonly repoCuratedSkills: readonly ["betterdoc", "decision-partner"]; readonly ownership: readonly [{ readonly sourcePin: "0c1d7be9a750627fb2a6534c78a998cc46d03f9c"; readonly sourcePath: "manifests/install-components.json"; readonly normalizedHash: "8eac72d3ab4eb41dc6feabadc7f80603999631186aeeb74b0e31019496054ed5"; readonly destination: "aih/ecc/profile.json"; readonly owner: "aih"; readonly mergeStrategy: "replace"; readonly previousHash: null; }]; readonly state: { readonly schemaVersion: 1; readonly lifecycle: "active"; }; }; export interface ResolvedEntry { id: string; sourcePath: string; owner: "upstream" | "aih-adaptation"; } export interface ResolvedSkill extends ResolvedEntry { selection: "baseline" | "leaf"; } export interface ResolvedEccProfile { source: EccProfile["source"]; modules: string[]; skills: ResolvedSkill[]; roles: ResolvedEntry[]; workflows: ResolvedEntry[]; consumedSourcePaths: string[]; } export declare function assertPortableSourcePath(sourcePath: string): string; export declare function checkedRoot(rootInput: string, label: string): string; export declare function checkedPath(root: string, sourcePath: string, expectedType: "file" | "directory", label: string): string; export declare function deriveEccProfile(profile: unknown, evidence: unknown): ResolvedEccProfile; export declare function resolveEccProfile(profile: unknown, evidence: unknown, options: { sourceRoot: string; evidenceRoot: string; }): Promise; export declare function serializeResolvedEccProfile(profile: ResolvedEccProfile): string;