import type { WakeState, AccessTier } from './types.js'; /** Versioned handoff package for agent-to-agent transfer. */ type HandoffPackage = { schema: 'wake-handoff-v1'; owner: { name: string; agent: string; }; recipient: { name: string; tier: AccessTier; }; generatedAt: string; categories: string[]; entries: Array<{ category: string; summary: string; details: string; }>; operationalDirectives: string[]; redactedCategories: string[]; metadata: { phase: string; gracePeriodDays: number; eulogyStarted?: string; terminalState: string; noResurrection: boolean; jurisdiction?: string; }; }; /** Build a handoff package for a specific beneficiary. */ declare function buildHandoffPackage(state: WakeState, ownerId: string, recipientName: string, tier: AccessTier): HandoffPackage; /** Log a handoff event. */ declare function logHandoff(ownerId: string, recipientName: string, tier: string, initiatedBy: string): void; /** Get handoff history for an owner. */ declare function getHandoffHistory(ownerId: string): Array<{ recipientName: string; tier: string; initiatedBy: string; initiatedAt: string; }>; export { buildHandoffPackage, logHandoff, getHandoffHistory }; export type { HandoffPackage };