import { MEBlobV3KeyCacheEntry, KernelMemory, MEBranchScopeCacheEntry, MEDecryptedBranchCacheEntry, MEDecryptedValueCacheEntry, MEDerivationRecord, MEEffectiveSecretCacheEntry, MEOptions, MERecomputeWave, MEVectorIndex, StoredWrappedKey } from './types.js'; export type MemoryState = { index: Record; _memories: KernelMemory[]; }; export type SecretState = { localSecrets: Record; localNoises: Record; branchStore: NonNullable; secretBlobVersion: "v2" | "v3"; keySpaces: Record; recipientKeyring: Record; secretEpoch: number; scopeCache: Map; effectiveSecretCache: Map; decryptedBranchCache: Map; writeBranchCache: Map; decryptedValueCache: Map; v3KeyCache: Map; vectorIndexes: Map; secretChunkSize: number; secretHashBuckets: number; }; export type DerivationState = { derivations: Record; refSubscribers: Record>; recomputeMode: "eager" | "lazy"; refVersions: Record; derivationRefVersions: Record>; staleDerivations: Set; lastRecomputeWaveByTarget: Record; activeRecomputeWave: MERecomputeWave | null; }; export type ConfigState = { unsafeEval: boolean; operators: Record; }; export type KernelState = { memory: MemoryState; secrets: SecretState; derivation: DerivationState; config: ConfigState; }; export type KernelFields = MemoryState & SecretState & DerivationState & ConfigState; export declare function createInitialKernelState(options?: MEOptions): KernelState; export declare function createInitialKernelFields(options?: MEOptions): KernelFields;