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