import type { Manifest } from '../../manifest'; import { type ExposedPortEndpoint } from '../../session'; import type { LocalSandboxSnapshot, LocalSandboxSnapshotSpec } from '../types'; export type LocalSandboxSessionStateValues = { manifest: Manifest; workspaceRootPath: string; workspaceRootOwned: boolean; environment: Record; snapshotSpec: LocalSandboxSnapshotSpec | null; snapshot: LocalSandboxSnapshot | null; snapshotFingerprint: string | null; snapshotFingerprintVersion: string | null; configuredExposedPorts: number[]; exposedPorts?: Record; }; export declare function deserializeLocalSandboxSessionStateValues(state: Record, configuredSnapshot: LocalSandboxSnapshotSpec | null | undefined): Promise; export declare function readExposedPortsState(state: Record): Record | undefined; export declare function normalizeExposedPorts(ports?: number[]): number[];