import { IOrganization } from 'organization'; import { IPerson } from 'person'; import { IClaimOpinion } from '../../entities/claim.opinion.entity'; import { IOpinion } from '../../entities/opinions.entity'; export declare const OPINIONS_ENDPOINT = "/api/opinions"; export declare const PUBLIC_OPINIONS_ENDPOINT = "/api/public/opinions"; export declare class OpinionsApi { static getAll: (params?: { [key: string]: string | number; }) => Promise>; static getAllPublic: (params?: { [key: string]: string | number; }) => Promise>; static update: (id: string, opinion: Partial>) => Promise>; static createOpinion: (idPerson: string, opinion: Partial>) => Promise>; static getIGiveOpinions: (params?: { [key: string]: string | number; }) => Promise>; static createClaimOpinion: (opinionId: string, claim: IClaimOpinion) => Promise>; static getAverage: (filters?: {}) => Promise>; }