export type FeedbackRating = "helpful" | "unhelpful" | "skipped"; export interface PromptOptions { /** Maximum time to wait for user input in milliseconds. Default: 15000. */ timeoutMs?: number; /** Input stream (defaults to process.stdin). Must be a TTY. */ input?: NodeJS.ReadableStream; /** Output stream (defaults to process.stderr). Must be a TTY. */ output?: NodeJS.WritableStream; } /** * Prompts the user once for triage feedback (y/n/skip). * * Returns "skipped" immediately on non-TTY or if either stream is not a TTY. * Waits up to timeoutMs for input; if no input is received, returns "skipped". * * Accepted responses (case-insensitive): * - helpful: "y", "yes", "helpful" * - unhelpful: "n", "no", "unhelpful" * - anything else (including empty) returns "skipped". */ export declare function promptTriageFeedback(opts?: PromptOptions): Promise; //# sourceMappingURL=feedback-prompt.d.ts.map