/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
/**
 * List sessions, ordered by most recently updated.
 */
export declare function listSessions(opts?: {
    limit?: number;
}): Promise<{
    id: string;
    scopeId: string;
    messages: unknown[];
    tokenUsage: {
        inputTokens: number;
        outputTokens: number;
        totalTokens: number;
    };
    metadata: Record<string, unknown> | null;
    imageData: Record<string, {
        mimeType: string;
        data: string;
    }> | null;
    version: number;
    createdAt: Date;
    updatedAt: Date;
}[]>;
/**
 * Get a single session by ID. Returns null if not found.
 */
export declare function getSession(sessionId: string): Promise<{
    id: string;
    scopeId: string;
    messages: unknown[];
    tokenUsage: {
        inputTokens: number;
        outputTokens: number;
        totalTokens: number;
    };
    metadata: Record<string, unknown> | null;
    imageData: Record<string, {
        mimeType: string;
        data: string;
    }> | null;
    version: number;
    createdAt: Date;
    updatedAt: Date;
}>;
