import { type CliLauncher, type Log } from "@intentic/local-agent"; import { type PortSummary } from "@intentic/sandbox-contract"; import { type MirroredPort, type SkippedPort } from "./config.js"; export declare const shouldAutoPauseFileSync: (failedPolls: number) => boolean; export declare class SyncAuthError extends Error { } export declare const fetchWorkspacePorts: (sandboxUrl: string, syncToken: string) => Promise; export interface ForwardExecutor { readonly terminate: (port: number) => void; readonly create: (summary: PortSummary) => Promise; readonly isLocalPortFree: (port: number) => Promise; } export declare const reconcileForwards: (executor: ForwardExecutor, current: readonly MirroredPort[], desired: readonly PortSummary[], claimedBy: ReadonlyMap, log: Log) => Promise; export declare const skippedPortsOf: (desired: readonly PortSummary[], mirrored: readonly MirroredPort[], claimedBy: ReadonlyMap) => SkippedPort[]; export declare const readLiveWatcherPid: () => Promise; export declare const signalExitCode: (signal: NodeJS.Signals) => number; export declare const runMirrorWatch: (log: Log) => Promise; export declare const startMirrorWatcher: (launcher: CliLauncher, log: Log) => Promise; export declare const stopWatcher: () => Promise; export declare const retirePairingMirror: (mutagen: string, sandboxId: string) => Promise; export declare const stopMirror: (log: Log) => Promise; //# sourceMappingURL=mirror.d.ts.map