import { type RuntimeRecord } from '../engine/runtime.js'; export interface ApplicationStorageIndex { schema: string; epoch: string; state: 'building' | 'ready'; inventoryHash: string | null; memberCount: number; holders: string[]; pending: { runId: string; registering: boolean; } | null; stamps: string | null; } /** 调用者串行提交应用写入;索引仅保存占用身份,正文仍以 Store 为准。 */ export declare function createApplicationStorageIndex(options: { rootDir: string; read(runId: string): Promise; holds(record: T): boolean | Promise; settle?(runId: string): Promise; }): { isAbortedRegistration(runId: string): Promise; holders(): Promise; begin(runId: string, registering: boolean): Promise; finish(): Promise; inspect(): Promise; repair(operation: "audit" | "rebuild", expectedEpoch: string): Promise; }; //# sourceMappingURL=storage-index.d.ts.map