import { type Entry } from '../../entries'; import { Manifest, type EnvValue } from '../../manifest'; import type { SandboxSessionState } from '../../session'; export { assertMountCredentialsRebound, deserializeMountCredentialRedactionMetadata, rebindPersistedMountCredentials, serializeMountCredentialRedactionMetadata, } from '../../mountSecurity'; type ManifestPersistenceState = { manifest: Manifest; environment?: Record; }; export declare function serializeManifest(manifest: Manifest): Manifest; export declare function serializeHostPathGrantRedactionMetadata(state: SandboxSessionState): Record; export declare function deserializeHostPathGrantRedactionMetadata(state: Record): Record; export declare function rebindPersistedPathGrants(state: TState, trustedManifest: Manifest | undefined, options?: { replaceWithTrustedManifest?: boolean; replaceWithTrustedGrantSet?: boolean; }): TState; export declare function assertHostPathGrantsRebound(state: SandboxSessionState): void; export declare function serializeManifestRecord(manifest: Manifest): Record; export declare function deserializeManifest(value: Record | undefined): Manifest; export declare function sanitizeEnvironmentForPersistence(state: ManifestPersistenceState): Record; export declare function serializeEnvironmentForPersistence(state: ManifestPersistenceState): Record; export declare function mergeManifestDelta(base: Manifest, update: Manifest): Manifest; export declare function mergeManifestEntryDelta(base: Manifest, path: string, entry: Entry): Manifest;