import { ThreadStateStorage } from './base.js'; /** * In-memory implementation of {@link ThreadStateStorage}. * * Holds each thread's state in a `Map>`. Stored * values are cloned on read and write so callers cannot mutate the backing * value. * * This is the default thread-state store wired by the composite store: task * tracking works out of the box without a configured backend. It is **not** * durable across process restarts — configure a durable backend (e.g. * `@mastra/libsql`) for state that must survive a restart. */ export declare class InMemoryThreadStateStorage extends ThreadStateStorage { private readonly stateByThread; init(): Promise; getState({ threadId, type }: { threadId: string; type: string; }): Promise; setState({ threadId, type, value }: { threadId: string; type: string; value: T; }): Promise; deleteState({ threadId, type }: { threadId: string; type: string; }): Promise; dangerouslyClearAll(): Promise; } //# sourceMappingURL=inmemory.d.ts.map