import { ThreadStateStorage } from '@mastra/core/storage';
import type { LibSQLDomainConfig } from '../../db/index.js';
/**
 * LibSQL implementation of {@link ThreadStateStorage}.
 *
 * Stores per-thread, per-type state in `mastra_thread_state`, keyed by the
 * composite primary key `(threadId, type)`. The `value` column holds the JSON
 * payload (e.g. the task list for `type = 'task'`).
 */
export declare class ThreadStateLibSQL extends ThreadStateStorage {
    #private;
    constructor(config: LibSQLDomainConfig);
    init(): Promise<void>;
    dangerouslyClearAll(): Promise<void>;
    getState<T = unknown>({ threadId, type }: {
        threadId: string;
        type: string;
    }): Promise<T | undefined>;
    setState<T = unknown>({ threadId, type, value }: {
        threadId: string;
        type: string;
        value: T;
    }): Promise<void>;
    deleteState({ threadId, type }: {
        threadId: string;
        type: string;
    }): Promise<void>;
}
//# sourceMappingURL=index.d.ts.map