/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
/**
 * List all stores for an agent, with document counts.
 */
export declare function listStores(agentId: string): Promise<{
    store: string;
    docCount: number;
}[]>;
/**
 * List documents in a specific store, ordered by most recently updated.
 */
export declare function listDocuments(agentId: string, store: string, opts?: {
    limit?: number;
    offset?: number;
}): Promise<{
    appId: string;
    scopeId: string;
    store: string;
    key: string;
    version: number;
    payload: Record<string, unknown>;
    meta: Record<string, unknown>;
    expiresAt: Date | null;
    createdAt: Date;
    updatedAt: Date;
}[]>;
/**
 * Get a single document by key. Returns null if not found.
 */
export declare function getDocument(agentId: string, store: string, key: string): Promise<{
    appId: string;
    scopeId: string;
    store: string;
    key: string;
    version: number;
    payload: Record<string, unknown>;
    meta: Record<string, unknown>;
    expiresAt: Date | null;
    createdAt: Date;
    updatedAt: Date;
}>;
/**
 * Get the version history for a document, ordered newest-first.
 */
export declare function getDocumentHistory(agentId: string, store: string, key: string): Promise<{
    id: number;
    appId: string;
    scopeId: string;
    store: string;
    key: string;
    version: number;
    payload: Record<string, unknown>;
    meta: Record<string, unknown>;
    createdAt: Date;
}[]>;
