import type { PersistedTunnelState, TunnelRegistration } from './tunnel-types.js';
export declare function persistedFromRegistration(registration: TunnelRegistration): PersistedTunnelState;
/** Rebuild registration from disk when Broker row is still valid (stop without deregister). */
export declare function registrationFromPersisted(persisted: PersistedTunnelState): TunnelRegistration | null;
export declare function canResumePersistedTunnel(persisted: PersistedTunnelState | null): persisted is PersistedTunnelState;
