import type { CreateIdentityInput, CreateMemoryInput, IdentityQuery, IdentityRecord, MemoryQuery, MemoryRecord } from "../storage/types.js"; import type { IdentityPerspective, MemoryApplicationStore, MemoryClock } from "./types.js"; export type ExplicitMemoryInput = Omit; export type ExplicitIdentityInput = Omit; export interface SelfIdentityInput { callingActorId: string; kind: string; content: string; sourceEventId?: string; identityId?: string; } export interface UserAuthoredIdentityInput { authorActorId: string; subjectActorId: string; kind: string; content: string; sourceEventId?: string; identityId?: string; } export interface ObservedIdentityInput { authorActorId: string; subjectActorId: string; content: string; sourceEventId?: string; identityId?: string; } export declare const systemMemoryClock: MemoryClock; /** * This is a provenance classification, not a truth or trust score. * An observation never becomes self identity merely because it concerns the target. */ export declare function classifyIdentityPerspective(identity: Pick): IdentityPerspective; /** * Explicit application service only. It has no chat-ingestion or automatic * memory-extraction entry point; ordinary submitted text is stored unchanged. */ export declare class GroupXMemoryService { #private; constructor(store: MemoryApplicationStore, clock?: MemoryClock); remember(input: ExplicitMemoryInput): MemoryRecord; search(input?: MemoryQuery): MemoryRecord[]; supersede(memoryId: string, replacement: ExplicitMemoryInput): MemoryRecord; retract(memoryId: string): MemoryRecord; rememberIdentity(input: ExplicitIdentityInput): IdentityRecord; rememberSelfIdentity(input: SelfIdentityInput): IdentityRecord; rememberUserAuthoredIdentity(input: UserAuthoredIdentityInput): IdentityRecord; rememberObservedIdentity(input: ObservedIdentityInput): IdentityRecord; searchIdentity(input?: IdentityQuery): IdentityRecord[]; supersedeIdentity(identityId: string, replacement: ExplicitIdentityInput): IdentityRecord; supersedeSelfIdentity(identityId: string, replacement: SelfIdentityInput): IdentityRecord; supersedeUserAuthoredIdentity(identityId: string, replacement: UserAuthoredIdentityInput): IdentityRecord; supersedeObservedIdentity(identityId: string, replacement: ObservedIdentityInput): IdentityRecord; retractIdentity(identityId: string): IdentityRecord; } //# sourceMappingURL=service.d.ts.map