import type { UserPerson, UserPersonIndexEntry, UserPersonKind, UserRelationshipSummary } from '../../user-context/relationships/types.js'; export declare function replaceUserPeopleIndex(entries: UserPersonIndexEntry[], revision: { sourceChangeSequence: number; sourceGrantsUpdatedAt: number; }, principalId?: string, nowMs?: number): void; export declare function getUserPeopleIndexState(principalId?: string): { sourceChangeSequence: number; sourceGrantsUpdatedAt: number; rebuiltAt: number; } | null; export declare function listUserPeople(options?: { query?: string; kind?: UserPersonKind; sourceInstanceId?: string; includeHidden?: boolean; hiddenOnly?: boolean; offset?: number; limit?: number; principalId?: string; }): { items: UserPerson[]; total: number; nextOffset?: number; }; export declare function getUserPerson(personId: string, principalId?: string): UserPerson | null; export declare function updateUserPerson(personId: string, patch: { displayName?: string | null; kind?: UserPersonKind | null; hidden?: boolean; }, principalId?: string): UserPerson | null; export declare function summarizeUserPeople(principalId?: string): UserRelationshipSummary; export declare function mergeUserPeople(sourcePersonId: string, targetPersonId: string, principalId?: string): UserPerson | null;