import { type Database } from "../data/database.js"; import { type MemberRecord, type CreateMemberInput } from "../member/identity.js"; import type { AgentMemberSnapshot } from "../agent/types.js"; export declare function createMember(input: CreateMemberInput): MemberRecord; export declare function createMemberWithPersona(input: CreateMemberInput, persona: string, prepareMetadata?: (record: MemberRecord) => (db: Database) => void): MemberRecord; /** Session build material for the agent core: member config projection, resolved * skill paths, workspace root and the stored session to resume. Assembled here * so agent code never imports member state directly. */ export declare function loadAgentMemberSnapshot(memberId: string): AgentMemberSnapshot | null; export declare function archiveMember(memberId: string, options: { confirm?: boolean; }): Promise<{ archived: string; }>; export declare function recoverMemberArchives(): Promise; import { type MemberPromptSource } from "../agent/prompt.js"; /** Capture member-owned prompt inputs once; compilation does not read storage. */ export declare function loadMemberPromptSource(memberId: string, contextWindowTokens?: number): MemberPromptSource; export type MemberSystemPromptRead = { available: true; text: string; contractFingerprint: string; } | { available: false; reason: "instance_not_running"; }; /** Read the prompt owned by the currently published runtime instance. */ export declare function readMemberSystemPrompt(memberId: string): Promise; import { type PreparedChatAdmission } from "../chat/delivery.js"; import { type Message, type MessageInput } from "../chat/messages.js"; import type { AgentMemberConfig } from "../agent/types.js"; /** Compose chat acceptance, agent enqueue and cursor confirmation in the caller's transaction. */ export declare function acceptPreparedChatAdmission(db: Database, admission: PreparedChatAdmission): import("../agent/scheduler.js").AgentAdmissionReceipt; export declare function repairPendingAgentAdmissions(): number; export declare function commitChatMessage(sourceRef: string, input: MessageInput): Message; export interface MemberUpdatePatch { avatarShape?: string | null; avatarColor?: string | null; name?: string; title?: string | null; model?: string | null; credentialId?: string | null; thinkingLevel?: string | null; skills?: string[]; mcpServers?: string[]; } export declare function updateMember(memberId: string, patch: MemberUpdatePatch): Promise<{ member: MemberRecord; }>; export declare function memberRecordToConfig(memberId: string): AgentMemberConfig | null; /** Activate a newly created member in its explicit user DM. Ordinary DM * messages enter through the chat admission transaction instead. */ export declare function activateDmMember(memberId: string): Promise; export declare function deleteMemberCompletely(id: string, options: { confirm?: boolean; }): Promise<{ deleted: string; }>; export declare function recoverMemberDeletions(): Promise; //# sourceMappingURL=member-actions.d.ts.map