/** * Semantic output utilities for proper stdout/stderr separation. * * Per clig.dev guidelines: * - stdout: primary output, machine-readable data * - stderr: log messages, errors, warnings, progress * * This enables proper piping (e.g., `rd raindrops list | jq`). */ /** * Override output streams. Use in tests to capture output. */ export declare function setOutputStream(stdout: NodeJS.WritableStream, stderr: NodeJS.WritableStream): void; /** * Reset output streams to defaults. Call in test cleanup. */ export declare function resetOutputStream(): void; /** * Output data to stdout. Use for primary output that may be piped. * Examples: JSON data, table output, IDs in quiet mode */ export declare function outputData(message: string): void; /** * Output a message to stderr. Use for informational/status messages. * Examples: "Validating token...", "Token saved successfully!" */ export declare function outputMessage(message: string): void; /** * Output an error to stderr. Use for errors and warnings. * Examples: "Invalid token", "Warning: Rate limit approaching" */ export declare function outputError(message: string): void; /** * Output data without trailing newline. Use for partial output. * TODO: Currently unused - reserved for future streaming output (rd-8o9) */ export declare function outputDataRaw(message: string): void; /** * Output message without trailing newline. Use for progress/spinners. * TODO: Currently unused - reserved for future progress indicators (rd-8o9) */ export declare function outputMessageRaw(message: string): void; //# sourceMappingURL=output-streams.d.ts.map