import type { Habery } from "./habbing.js"; export interface ContactRecord extends Record { id: string; } /** * Minimal KERIpy-style contact organizer for remote identifier metadata. * * Current scope: * - exact alias lookup for EXN/challenge recipient resolution * - signed contact load/update for alias and OOBI fields * - no broader contact-management CLI surface yet */ export declare class Organizer { readonly hby: Habery; constructor(hby: Habery); /** Load one signed contact record by identifier prefix. */ get(pre: string): ContactRecord | null; /** * Merge one partial contact update into the signed contact record. * * Field-index storage is intentionally limited to scalar string values in * this slice because EXN/challenge parity currently needs exact alias lookup * and OOBI URL recall, not arbitrary structured contact search. */ update(pre: string, data: Record): void; /** Find contacts whose indexed field exactly equals the provided value. */ findExact(field: string, value: string): ContactRecord[]; } /** Persist minimal alias/OOBI contact state once one remote AID resolves. */ export declare function persistResolvedContact(hby: Habery, pre: string | null | undefined, data: { alias?: string | null; oobi?: string | null; }): void; /** Debug helper kept local so organizer serialization stays reviewable. */ export declare function signedContactJson(hby: Habery, pre: string): string | null; //# sourceMappingURL=organizing.d.ts.map