export interface ProjectResolutionError { error: 'project_resolution_failed'; message: string; hint: string; } export type FeedbackCategory = 'tool' | 'workflow' | 'docs' | 'ux' | 'perf' | 'other'; export type FeedbackSentiment = 'positive' | 'negative'; export type FeedbackSource = 'human' | 'agent'; export type FeedbackStatus = 'open' | 'acknowledged' | 'actioned' | 'archived'; export interface SubmitFeedbackInput { projectId?: string; category: FeedbackCategory; feedback: string; tool_ref?: string; sentiment?: FeedbackSentiment; source?: FeedbackSource; tags?: string[]; } export interface SubmitFeedbackOutput { id: string; path: string; created_at: string; category: FeedbackCategory; sentiment: FeedbackSentiment; } export interface ListFeedbackInput { projectId?: string; category?: FeedbackCategory; tool_ref?: string; sentiment?: FeedbackSentiment; status?: FeedbackStatus; limit?: number; since?: string; } export interface FeedbackEntry { id: string; category: FeedbackCategory; tool_ref: string; sentiment: FeedbackSentiment; source: FeedbackSource; status: FeedbackStatus; created_at: string; tags: string[]; excerpt: string; } export interface ListFeedbackOutput { entries: FeedbackEntry[]; summary: { total: number; by_category: Record; sentiment_breakdown: Record; }; } export interface FeedbackError { error: string; details?: string; } export declare function isFeedbackError(result: unknown): result is FeedbackError; export declare function submitFeedback(input: SubmitFeedbackInput): Promise; export declare function listFeedback(input: ListFeedbackInput): Promise; //# sourceMappingURL=feedback.d.ts.map