import { type SandPaths } from "../paths.js"; import type { MemoryFact, MemoryScope } from "../types.js"; import { type DiskAgent } from "./agents.js"; import { type ForgetMemoryInput, type WriteMemoryInput } from "./memory.js"; import { SearchIndex } from "./search-index.js"; import { AgentStore } from "./store.js"; import { type ReadTranscriptOptions, type TranscriptIndexEntry } from "./transcripts.js"; export declare class GrokBotDisk { readonly sandRoot: string; readonly paths: SandPaths; constructor(options?: { sandRoot?: string; }); listAgents(): DiskAgent[]; getAgent(agentId: string): DiskAgent | null; resolveAgent(idOrName: string): DiskAgent | null; getProfile(agentId: string): import("../types.js").AgentProfile | null; getSettings(agentId: string): import("../types.js").AgentSettings; getGroup(agentId: string): import("../types.js").AgentGroup | null; getActiveAgentId(): string | null; listMemories(agentId: string, scope?: MemoryScope): MemoryFact[]; /** * Disk fallback for host rememberFact. Prefer gateway getAgentMemories / * update_state when the host is up. */ writeMemory(input: Omit): MemoryFact | null; /** * Disk fallback for host forgetFact. Prefer gateway / update_state when * the host is up. Content must match the recorded line after normalize. */ forgetMemory(input: Omit): boolean; readTranscript(agentId: string, options?: Omit): Promise; listTranscripts(options?: { skipSubagents?: boolean; }): TranscriptIndexEntry[]; openStore(agentId: string): AgentStore; listAutomations(agentId: string): import("../types.js").DiskAutomation[]; listAllAutomations(): import("../types.js").DiskAutomation[]; listWorkflows(): import("../types.js").DiskWorkflow[]; openSearchIndex(): SearchIndex; } export { DEFAULT_HIDDEN_FROM_SIDEBAR, DEFAULT_NOTIFY_ON_AGENT_UPDATES, GROUP_CONFIG_VERSION, GROUP_MAX_MEMBERS, getDiskAgent, listDiskAgents, normalizeMemberIds, normalizeRemoteMembers, parseSandGroup, parseSandProfile, parseSandSettings, readActiveAgentId, readGroup, readProfile, readSettings, resolveDiskAgent, } from "./agents.js"; export type { DiskAgent } from "./agents.js"; export { FACT_LINE, LOG_HEADER, MEMORY_EPISODE_PREFIX, MEMORY_MAX_CONTENT_LENGTH, MEMORY_NOTE_PREFIX, PROFILE_HEADER, forgetMemoryFact, formatMemoryDate, listMemoryFacts, memoryDedupeKey, memoryIdFor, normalizeMemoryContent, parseFacts, serializeFactLine, writeMemoryFact, } from "./memory.js"; export type { ForgetMemoryInput, WriteMemoryInput } from "./memory.js"; export { AUTOMATION_CONFIG_FILENAME, AUTOMATION_MAX_NAME_LENGTH, KNOWN_TRIGGER_TYPES, ROUTINE_NOTICE_IDS, listAgentAutomations, listAllDiskAutomations, parseStoredAutomationConfig, parseStoredTrigger, } from "./automations.js"; export { HOST_CRON_TIME_ZONE, ONCE_AT_MIN_MS, ONCE_DATED_CRON_DELETE_INSTRUCTION, isValidOnceAt, normalizeOnceAt, onceToDatedCron, parseOnceAtMs, parseOnceTrigger, toHostAutomationSpec, toHostAutomationTrigger, } from "../once-trigger.js"; export { AgentStore, BRANCHED_ENTRY_FILTER_SQL, CONVERSATION_BLOB_SCHEMA, MAIN_TRANSCRIPT_MESSAGE_FILTER_SQL, SQLITE_DB_SIDECAR_SUFFIXES, STORE_ENTRY_KINDS, STORE_KV_KEYS, STORE_SCHEMA, WINDOW_ENTRY_FILTER_SQL, openAgentStore, sqliteRoUri, } from "./store.js"; export { SearchIndex, openSearchIndex } from "./search-index.js"; export { SUBAGENT_PREFIX, TRANSCRIPT_NON_MESSAGE_TYPES, formatLegacyTranscriptLine, isLegacyTranscriptEnvelope, isTranscriptNonMessage, listTranscriptFiles, parseLegacyTranscriptLine, readTranscript, summarizeContent, } from "./transcripts.js"; export type { ReadTranscriptOptions, TranscriptIndexEntry } from "./transcripts.js"; export type { SearchMediaQuery, SearchMessageQuery } from "./search-index.js"; export { listGlobalWorkflows } from "./workflows.js"; //# sourceMappingURL=index.d.ts.map