import { EntityRatingsData, FeedbackResponse, Rating, Ratings } from '@backstage/plugin-entity-feedback-common'; /** * @public */ export declare const entityFeedbackApiRef: import("@backstage/core-plugin-api").ApiRef; /** * @public */ export interface EntityFeedbackApi { getAllRatings(): Promise; getOwnedRatings(ownerRef: string): Promise; recordRating(entityRef: string, rating: string): Promise; getRatings(entityRef: string): Promise[]>; /** * Returns anonymized aggregated results for one entityRef */ getRatingAggregates(entityRef: string): Promise; recordResponse(entityRef: string, response: Omit): Promise; getResponses(entityRef: string): Promise[]>; }