export type RouteKitRemote = { name: string; gatewayUrl: string; sshHost: string; addedAt: string; tokenId: string; }; export type RemoteRegistry = { version: 1; active?: string; remotes: RouteKitRemote[]; }; export type RemoteRegistrySnapshot = { existed: boolean; registry: RemoteRegistry; }; export declare function emptyRemoteRegistry(): RemoteRegistry; export declare function validateRemoteName(name: string): void; export declare function validateSshHost(host: string): void; export declare function normalizeRemoteUrl(value: string): string; export declare function parseRemoteRegistry(value: unknown, path: string): RemoteRegistry; export declare function remoteRegistryAfterPut(snapshot: RemoteRegistrySnapshot, remote: RouteKitRemote, activate: boolean): RemoteRegistry; export declare function remoteRegistryAfterRemoval(snapshot: RemoteRegistrySnapshot, name: string): RemoteRegistry | undefined; export declare function remoteRegistriesEqual(left: RemoteRegistry, right: RemoteRegistry): boolean;