export interface StateIdentity { directory: string; owner: string; profile?: string; home?: string; } export declare function resolveStateIdentity(profile: { name: string; dir: string; home: string; } | undefined, entry: string, custom: string): StateIdentity; /** Exclusive creation prevents two profiles from both adopting a custom directory. */ export declare function claimStateDirectory(identity: StateIdentity): Promise; /** Hold one writer for the complete Host lifecycle, including the last queued save. */ export declare function claimStateWriter(identity: StateIdentity): Promise<() => Promise>; /** Desktop adopts legacy metadata only; navigation stays disabled until Host reconciliation. */ export declare function importLegacyInbox(identity: StateIdentity): Promise; //# sourceMappingURL=state-identity.d.ts.map