/** * JournalApi class — the main API object injected as `mj` in the sandbox. * * Exposes all Memory Journal tool groups as namespaced APIs with cross-group * wiring to handle common agent hallucinations. */ import type { ToolDefinition } from '../../types/index.js'; import type { ToolGroup } from '../../types/filtering.js'; import type { ProgressContext } from '../../utils/progress-utils.js'; import type { ToolDispatcher, GroupApiRecord } from './types.js'; /** * Main API class exposing all Memory Journal tool groups. * This is the object injected as `mj` in the sandbox. */ export declare class JournalApi { readonly core: GroupApiRecord; readonly search: GroupApiRecord; readonly analytics: GroupApiRecord; readonly relationships: GroupApiRecord; readonly io: GroupApiRecord; readonly admin: GroupApiRecord; readonly github: GroupApiRecord; readonly backup: GroupApiRecord; readonly team: GroupApiRecord; readonly git: GroupApiRecord; readonly memory: GroupApiRecord; private readonly toolsByGroup; private readonly groupApiMap; constructor(tools: ToolDefinition[], dispatcher?: ToolDispatcher); private wireCrossGroupAliases; private wireProjectAndTeamAliases; private wireMethodAliases; getGroups(): string[]; getGroupMethods(group: ToolGroup): string[]; createSandboxBindings(progressCtx?: ProgressContext): Record; createSandboxSchemas(): Record>; } export declare function createJournalApi(tools: ToolDefinition[], dispatcher?: ToolDispatcher): JournalApi; //# sourceMappingURL=journal-api.d.ts.map