import { type FileRuntimeStoreOptions, type RuntimeRecord } from './runtime-store.js'; export interface FileRuntimeStoreRun { storageKey: string; runId: string | null; record: T | null; error: { code: string; message: string; } | null; } export interface FileRuntimeStoreRunSource { storageKey: string; runId: string | null; fingerprint: string; error: { code: string; message: string; } | null; } /** 只枚举稳定身份键;不打开未选中的记录,保留异常项目供调用者呈现。 */ export declare function listFileRuntimeStoreRunKeys(options: FileRuntimeStoreOptions): Promise; /** * 默认通过权威 Store 完整验证每条 Run。excludeClosed 仅供资源发现:调用方承诺 * closeRun 前验证业务静止;封存正文留给显式 inspect 校验,未完成封存仍完整读取。 */ export declare function listFileRuntimeStoreRuns(options: FileRuntimeStoreOptions, discovery?: { excludeClosed?: boolean; }): Promise[]>; export declare function listFileRuntimeStoreRunSources(options: FileRuntimeStoreOptions): Promise; /** 调用内分页只返回身份,不提供变化指纹;需要指纹时使用 listFileRuntimeStoreRunSources。 */ export declare function readFileRuntimeStoreRunSources(options: FileRuntimeStoreOptions, storageKeys: readonly string[]): Promise[]>; /** 按需发现;每次 next 只解析一个来源,不预读整个目录或 Run 正文。 */ export declare function iterateFileRuntimeStoreRunSources(options: FileRuntimeStoreOptions): AsyncGenerator; //# sourceMappingURL=runtime-store-discovery.d.ts.map