export { MeshConfigLoader, MeshConfigNormalizer, defineMeshConfig } from './config/index.cjs'; export { MeshProcessSupervisor, MeshRuntime } from './runtime/index.cjs'; import { F as MeshStateFile, q as MeshInstanceRecord, P as NormalizedMeshConfig, f as MeshCiGenerateOptions } from './types-C9VYURdP.cjs'; export { M as MeshCiBackendConfig, a as MeshCiBackendStrategy, b as MeshCiConfig, c as MeshCiDrsConfig, d as MeshCiFrontendConfig, e as MeshCiFrontendStrategy, g as MeshConfig, h as MeshConnectionCounters, i as MeshCoordinationConfig, j as MeshHsmBridgeConfig, k as MeshHsmMappedRoute, m as MeshHsmRouteMode, n as MeshHsmSchemaLike, o as MeshHsmServiceBinding, p as MeshHsmServiceMapping, r as MeshInstanceStatus, s as MeshObservabilityConfig, v as MeshPsOptions, w as MeshRegistryConfig, x as MeshRegistryType, y as MeshRouterConfig, z as MeshRouterTlsConfig, A as MeshRunOptions, B as MeshRuntimeConfig, C as MeshServiceConfig, D as MeshServiceStrategy, E as MeshServiceType, G as MeshStopOptions, H as MeshStreamTransport, I as MeshStreamingConfig, J as MeshWatchOptions, N as NormalizedMeshCiBackendConfig, K as NormalizedMeshCiConfig, L as NormalizedMeshCiDrsConfig, O as NormalizedMeshCiFrontendConfig, Q as NormalizedMeshCoordinationConfig, R as NormalizedMeshHsmBridgeConfig, S as NormalizedMeshObservabilityConfig, T as NormalizedMeshRegistryConfig, U as NormalizedMeshRouterConfig, V as NormalizedMeshRouterTlsConfig, W as NormalizedMeshServiceConfig, X as NormalizedMeshStreamingConfig } from './types-C9VYURdP.cjs'; import fs from 'node:fs'; export { C as CookieSigner, c as MeshRouterServer, R as RouteMatcher, e as StickySession } from './StickySession-DEe8X3pU.cjs'; export { F as FileMeshRegistry, H as HeartbeatLoop, R as RegistrationSigner, a as RegistryFactory } from './HeartbeatLoop-DE222_EE.cjs'; export { RedisMeshRegistry } from './registry/redis/index.cjs'; export { M as MeshNode, a as MeshNodeOptions, b as MeshNodeSignalHandlerOptions, c as createMeshNode } from './index-B0haju2X.cjs'; export { M as MemoryMeshEventBus, a as MeshEventBus, b as MeshEventEnvelope, c as MeshEventHandler } from './MeshEventBus-BllfET-d.cjs'; export { A as ActiveConnectionSnapshot, a as ActiveConnectionTracker } from './ActiveConnectionTracker-C8le1hej.cjs'; export { DrainController, DrainControllerOptions, DrainTargetResult } from './drain/index.cjs'; export { M as MeshRegistry, a as MeshRegistryFactory } from './types-DHlgzfvs.cjs'; export { PodmanCommandBuilder, PodmanCommands, PodmanContainerSpec, PodmanPlan, PodmanQuadletGenerator, PodmanRunResult, PodmanRunner, QuadletFile } from './podman/index.cjs'; export { P as PodmanSupervisor } from './PodmanSupervisor-9k5s_OC0.cjs'; export { HsmMeshPlanner, HsmRouteMapper, HsmSchemaLoader, HsmSchemaValidator } from './hsm/index.cjs'; export { DashboardCommand, DashboardRenderer, MeshDashboardBuildOptions, MeshDashboardCommandOptions, MeshDashboardLogEntry, MeshDashboardRenderOptions, MeshDashboardRouteSummary, MeshDashboardServiceSummary, MeshDashboardSnapshot, MeshRouterMetricsSnapshot, MeshRouterServiceStats, ObservabilitySnapshotBuilder, RouterMetrics } from './observability/index.cjs'; export { MemoryMeshStream, MeshStreamChannels, MeshStreamFactory, MeshStreamSerializer, RedisMeshStream, RedisPubSubConnection, StreamCommand } from './streaming/index.cjs'; export { M as MeshLifecycleStreamPayload, a as MeshLogPublishInput, b as MeshLogStreamName, c as MeshLogStreamPayload, d as MeshStreamEnvelope, e as MeshStreamHandler, f as MeshStreamKind, g as MeshStreamPublisher, h as MeshStreamSubscribeOptions, i as MeshStreamSubscriber } from './types-CX31ymkh.cjs'; export { L as LockManager } from './LockManager-C5YiafGr.cjs'; export { LockFactory, LockLease, MemoryLockBackend, MeshLockError, MeshLockTimeoutError, RedisLockBackend } from './locks/index.cjs'; export { M as MeshLockAcquireOptions, a as MeshLockBackend, b as MeshLockLease, c as MeshLockRecord, d as MeshLockRunOptions } from './types-BZGet48R.cjs'; export { LeaderElection } from './leader/index.cjs'; export { M as MeshLeaderHandle, a as MeshLeaderRecord, b as MeshLeaderRunOptions } from './types-CYIf5CLM.cjs'; export { CleanupScheduler, MeshCleanupTaskContext, MeshCleanupTaskOptions, MeshCleanupTaskSnapshot, MeshCleanupTaskStatus, sleepForCleanup } from './cleanup/index.cjs'; import 'node:http'; import './SimpleRedisClient-155MXK60.cjs'; import 'node:net'; declare class MeshStateStore { private readonly app; private readonly stateDir; constructor(app: string, stateDir: string); get statePath(): string; read(): Promise; write(instances: readonly MeshInstanceRecord[]): Promise; upsert(instance: MeshInstanceRecord): Promise; update(instanceId: string, patch: Partial): Promise; remove(instanceIds: readonly string[]): Promise; empty(): MeshStateFile; private parseState; private recoverCorruptedState; private extractRootJsonPrefix; } declare class ProcessHealth { isAlive(pid: number | null): boolean; refresh(instance: MeshInstanceRecord): MeshInstanceRecord; } declare class LogStore { private readonly logsDir; constructor(logsDir: string); getLogPath(instanceId: string): string; createStream(instanceId: string): Promise; readLastLines(logFile: string, lines: number): Promise; tail(logFile: string, onChunk: (chunk: string) => void): () => void; } declare class MeshIdFactory { createInstanceId(service: string): string; } declare class InstanceIdResolver { resolve(instances: readonly MeshInstanceRecord[], prefix: string): MeshInstanceRecord; } declare class MeshError extends Error { constructor(message: string); } declare class MeshConfigError extends MeshError { } declare class MeshStateError extends MeshError { } declare class MeshProcessError extends MeshError { } declare class MeshIdResolutionError extends MeshError { } declare class CiGenerateCommand { private readonly config; constructor(config: NormalizedMeshConfig); generate(options?: MeshCiGenerateOptions): Promise; private syncGeneratedModules; private syncGeneratedRuntimeBundles; private buildArtifacts; private groupByCwd; private frontendWorkflow; private frontendDrsPlan; private frontendDrsBootstrapSteps; private frontendInstallCommand; private frontendRsyncWorkflow; private frontendImageWorkflow; private syncBackendMeshRuntimeBundle; private pruneGeneratedRuntimeNoise; private renderBackendRuntimeMeshConfig; private backendWorkflow; private backendPodmanWorkflow; private backendMeshWorkflow; private backendQuadletWorkflow; /** Produces: ${{ secrets.KEY }} */ private ghaSecret; /** Produces: ${{ env.KEY }} */ private ghaEnv; /** Produces: ${{ github.actor }} etc. */ private ghaCtx; } export { CiGenerateCommand, InstanceIdResolver, LogStore, MeshCiGenerateOptions, MeshConfigError, MeshError, MeshIdFactory, MeshIdResolutionError, MeshInstanceRecord, MeshProcessError, MeshStateError, MeshStateStore, NormalizedMeshConfig, ProcessHealth };