/**
 * Avis Container Client
 *
 * TypeScript client for the persistent Avis brain running at localhost:7777.
 * Used by the TUI, Spotlight bar, agent session, and voice module.
 */
export interface ContainerStatus {
    status: "alive" | "down";
    uptime: number;
    model: string;
    version: string;
    memories: number;
    conversations: number;
}
export interface ChatResponse {
    response: string | null;
    tier: "LOCAL" | "WORKER" | "DEEP";
    model?: string;
    error?: string;
}
export interface Memory {
    id: number;
    timestamp: number;
    category: string;
    content: string;
    tags: string;
    source: string;
}
export interface Task {
    id: number;
    created_at: number;
    scheduled_for: number | null;
    status: string;
    type: string;
    payload: string;
    result: string | null;
}
export interface Conversation {
    id: number;
    session_id: string;
    timestamp: number;
    role: string;
    content: string;
    tier: string;
    model: string;
}
export declare const containerClient: {
    /** Check if the container is running. Fast check with short timeout. */
    isAlive(): Promise<boolean>;
    /** Get full status including memory and conversation counts. */
    status(): Promise<ContainerStatus | null>;
    /**
     * Send a chat message through the container's tiered routing.
     *
     * The container will:
     * 1. Triage the message (LOCAL/WORKER/DEEP)
     * 2. Inject memory context from its DB
     * 3. Either respond locally (qwen3) or escalate to cloud
     * 4. Log the conversation
     */
    chat(message: string, options?: {
        tier?: "LOCAL" | "WORKER" | "DEEP";
        sessionId?: string;
    }): Promise<ChatResponse | null>;
    /** Store a memory in the container's persistent DB. */
    storeMemory(content: string, category?: string, tags?: string[], source?: string): Promise<boolean>;
    /** Query memories by category, search text, or both. */
    queryMemories(options?: {
        category?: string;
        query?: string;
        limit?: number;
    }): Promise<Memory[]>;
    /** Bulk ingest conversation entries from an agent session. */
    ingestConversation(sessionId: string, entries: Array<{
        role: string;
        content: string;
        timestamp?: number;
        tier?: string;
        model?: string;
    }>): Promise<number>;
    /** Get recent conversations. */
    getConversations(limit?: number): Promise<Conversation[]>;
    /** Schedule a background task. */
    scheduleTask(type: string, payload: Record<string, unknown>, scheduledFor?: number): Promise<boolean>;
    /** List recent tasks. */
    listTasks(): Promise<Task[]>;
};
//# sourceMappingURL=container-client.d.ts.map