/** * Cross-platform utilities for terminal operations and signal handling */ /** * Clear the current line in the terminal. * Uses ANSI escape codes on Unix/macOS, and space overwrite on Windows. */ export declare function clearLine(): void; /** * Setup signal handlers for graceful shutdown. * SIGINT (Ctrl+C) works on all platforms. * SIGTERM only works on Unix/macOS. */ export declare function setupSignalHandlers(handler: () => void): void; /** * Remove signal handlers. */ export declare function removeSignalHandlers(handler: () => void): void; declare const _default: { isWindows: boolean; clearLine: typeof clearLine; setupSignalHandlers: typeof setupSignalHandlers; removeSignalHandlers: typeof removeSignalHandlers; }; export default _default; //# sourceMappingURL=platform.d.ts.map