export type GenerationTask = { purpose?: 'knowledge-answer'; question?: string; modeGuidance?: string; }; export interface VaultMemoryApi { observerStatus?(): Promise; observerGenerate?(text: string, signal?: AbortSignal, task?: GenerationTask): Promise; preferences?(): Promise; updatePreferences?(input: Record): Promise; memory?(id: string): Promise; toolUses?(input: Record): Promise; graph?(): Promise; graphPresets?(): Promise; saveGraphPreset?(input: Record): Promise; createGraphLink?(input: Record): Promise; deleteGraphLink?(id: string): Promise; health(): Promise; projects(): Promise; createProject(input: Record): Promise; updateProject?(id: string, input: Record): Promise; startSession(input: Record): Promise; endSession(id: string): Promise; event(input: Record): Promise; remember(input: Record): Promise; forget(id: string): Promise; search(input: Record): Promise; retrieve?(input: Record): Promise; decisionStatus?(): Promise; decide?(input: Record): Promise; searchIndex(input: Record): Promise; observations(ids: string[]): Promise; timeline(input: Record): Promise; context(input: Record): Promise; fileContext(input: Record): Promise; stats(): Promise; jobs(input: Record): Promise; job?(id: string): Promise; retryJob(id: string): Promise; cancelJob(id: string): Promise; exportMemories(input: Record): Promise; importMemories(input: Record): Promise; backupStatus?(): Promise; exportBackupPage?(input: Record): Promise; importBackupPage?(input: Record): Promise; embeddingStatus(): Promise; embeddingBackfill(): Promise; feed(input: Record): Promise; knowledgeBases(): Promise; knowledgeBase(id: string): Promise; buildKnowledgeBase(input: Record): Promise; rebuildKnowledgeBase(id: string): Promise; queryKnowledgeBase(id: string, input: Record): Promise; deleteKnowledgeBase(id: string): Promise; skills?(query: Record): Promise; skillFolders?(): Promise; skill?(id: string, version?: string): Promise; skillFile?(id: string, path: string, version?: string): Promise; createSkill?(input: Record, idempotencyKey?: string): Promise; createSkillVersion?(id: string, input: Record, idempotencyKey?: string): Promise; updateSkill?(id: string, input: Record): Promise; setSkillProjects?(id: string, projectIds: string[]): Promise; createSkillFolder?(input: Record): Promise; updateSkillFolder?(id: string, input: Record): Promise; skillDownloadGrant?(id: string, versionId?: string): Promise; } export declare class VaultCloudClient implements VaultMemoryApi { private readonly home; private readonly cloudFetch; private readonly journal; constructor(home?: string, cloudFetch?: typeof fetch, journal?: boolean); health(): Promise; observerStatus(): Promise; preferences(): Promise; observerGenerate(text: string, signal?: AbortSignal, task?: GenerationTask): Promise; registerDevice(input: Record): Promise; rotateDevice(id: string): Promise; deviceAction(id: string, token: string, action: 'heartbeat' | 'disconnect', body?: Record): Promise; projects(): Promise; updateProject(id: string, input: Record): Promise; createProject(input: Record): Promise; startSession(input: Record): Promise; endSession(id: string): Promise; event(input: Record): Promise; remember(input: Record): Promise; forget(id: string): Promise; search(input: Record): Promise; retrieve(input: Record): Promise; decisionStatus(): Promise; decide(input: Record): Promise; searchIndex(input: Record): Promise; observations(ids: string[]): Promise; timeline(input: Record): Promise; context(input: Record): Promise; fileContext(input: Record): Promise; stats(): Promise; jobs(input: Record): Promise; job(id: string): Promise; retryJob(id: string): Promise; cancelJob(id: string): Promise; exportMemories(input: Record): Promise; importMemories(input: Record): Promise; backupStatus(): Promise; exportBackupPage(input: Record): Promise; importBackupPage(input: Record): Promise; embeddingStatus(): Promise; embeddingBackfill(): Promise; feed(input: Record): Promise; knowledgeBases(): Promise; knowledgeBase(id: string): Promise; buildKnowledgeBase(input: Record): Promise; rebuildKnowledgeBase(id: string): Promise; queryKnowledgeBase(id: string, input: Record): Promise; deleteKnowledgeBase(id: string): Promise; skills(query: Record): Promise; skillFolders(): Promise; skill(id: string, version?: string): Promise; skillFile(id: string, path: string, version?: string): Promise; createSkill(input: Record, idempotencyKey?: string): Promise; createSkillVersion(id: string, input: Record, idempotencyKey?: string): Promise; updateSkill(id: string, input: Record): Promise; setSkillProjects(id: string, projectIds: string[]): Promise; createSkillFolder(input: Record): Promise; updateSkillFolder(id: string, input: Record): Promise; skillDownloadGrant(id: string, versionId?: string): Promise; updatePreferences(input: Record): Promise; memory(id: string): Promise; toolUses(input: Record): Promise; graph(): Promise; graphPresets(): Promise; saveGraphPreset(input: Record): Promise; createGraphLink(input: Record): Promise; deleteGraphLink(id: string): Promise; private endpoint; private accessToken; private request; private performRequest; } export declare class VaultCloudError extends Error { readonly status: number; constructor(status: number, message: string); }