import type { BehaviorProfile, BehaviorWorkspaceStateV1, BehaviorProvenanceEntry } from "./types.js";
export declare class BehaviorProfileStore {
    private state;
    constructor(initial: BehaviorWorkspaceStateV1);
    getState(): BehaviorWorkspaceStateV1;
    listIds(): {
        id: string;
        label: string;
        kind: "builtin" | "custom";
    }[];
    getRawProfile(id: string): BehaviorProfile | null;
    /** Resolve `extends` chain; returns null if missing or cycle (cycle truncated). */
    resolveProfile(id: string, stack?: Set<string>): BehaviorProfile | null;
    getActiveProfileId(): string | null;
    setActiveProfileId(id: string | null): void;
    putCustomProfile(profile: BehaviorProfile): void;
    deleteCustomProfile(id: string): void;
    resolveEffectiveWithProvenance(): {
        effective: BehaviorProfile;
        provenance: BehaviorProvenanceEntry[];
    };
}
export declare function materializeCustomFromBase(baseId: string, store: BehaviorProfileStore, newId: string, overrides: {
    label?: string;
    summary?: string;
    dimensions?: Partial<BehaviorProfile["dimensions"]>;
    interactionNotes?: string;
}): {
    ok: true;
    profile: BehaviorProfile;
} | {
    ok: false;
    message: string;
};
