import type { Context } from 'hono';
import type { FEEDBACK_TYPES } from '../../../constants/index.js';
type FeedbackData = {
    path: string;
    component: FEEDBACK_TYPES;
    location?: string;
    lang?: string;
    metadata?: Record<string, any>;
    score?: number | string;
    reasons?: string[];
    comment?: string;
    max?: number;
    email?: string;
};
export declare function normalizeFeedbackMetadata(metadata?: FeedbackData['metadata']): Record<string, any> | undefined;
export declare function feedbackHandler(ctx: Context): Promise<(Response & import("hono").TypedResponse<any, 200, "json">) | (Response & import("hono").TypedResponse<{
    errors: string[];
}, 400, "json">) | (Response & import("hono").TypedResponse<{
    errors: any[];
}, 500, "json">)>;
export {};
//# sourceMappingURL=feedback.d.ts.map