import type { FasedAgentConfig } from "../../config/config.js";
import { type SessionAcpMeta, type SessionEntry } from "../../config/sessions/types.js";
export type AcpSessionStoreEntry = {
    cfg: FasedAgentConfig;
    storePath: string;
    sessionKey: string;
    storeSessionKey: string;
    entry?: SessionEntry;
    acp?: SessionAcpMeta;
    storeReadFailed?: boolean;
};
export declare function resolveSessionStorePathForAcp(params: {
    sessionKey: string;
    cfg?: FasedAgentConfig;
}): {
    cfg: FasedAgentConfig;
    storePath: string;
};
export declare function readAcpSessionEntry(params: {
    sessionKey: string;
    cfg?: FasedAgentConfig;
}): AcpSessionStoreEntry | null;
export declare function listAcpSessionEntries(params: {
    cfg?: FasedAgentConfig;
}): Promise<AcpSessionStoreEntry[]>;
export declare function upsertAcpSessionMeta(params: {
    sessionKey: string;
    cfg?: FasedAgentConfig;
    mutate: (current: SessionAcpMeta | undefined, entry: SessionEntry | undefined) => SessionAcpMeta | null | undefined;
}): Promise<SessionEntry | null>;
