import type { SessionManager } from "@caupulican/pi-agent-core/node"; import type { OrchestrationProfile } from "./contracts.ts"; export declare const SESSION_TASK_PROFILE_CUSTOM_TYPE = "session_task_profile"; export declare const MAX_SESSION_TASK_PROFILES = 32; export interface SessionTaskProfileRecord { baseProfileId: string; authorProfileId?: string; profile: OrchestrationProfile; } export interface SessionTaskProfileLoadResult { records: SessionTaskProfileRecord[]; registry: ReadonlyMap; diagnostics: string[]; } /** * Append-only task-profile storage on the active session branch. * * The common append path walks only entries added since the cached leaf. Branching away from the * cached leaf deliberately rebuilds from parent links so abandoned task profiles cannot leak into * the active branch. */ export declare class SessionTaskProfileStore { private readonly sessionManager; private cachedLeafId; private cachedResult; constructor(sessionManager: SessionManager); load(): SessionTaskProfileLoadResult; append(input: SessionTaskProfileRecord): SessionTaskProfileRecord; private cloneResult; } //# sourceMappingURL=session-task-profile-store.d.ts.map