import type { AxiosRequestConfig } from 'axios'; import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base'; import type { RuleRating } from '../types'; export type RatingCreateParams = { /** * * @type { RuleRating } * @memberof RatingCreateApi */ ruleRating: RuleRating; options?: AxiosRequestConfig; }; export type RatingCreateReturnType = RuleRating; /** * Add or update a rating for a rule, by rule ID. Return the new rating. Any previous rating for this rule by this user is amended to the current value. This does not attempt to delete a rating by this user of this rule if the rating is zero. * @param {RatingCreateParams} config with all available params. * @param {*} [options] Override http request option. * @throws {RequiredError} */ export declare const ratingCreateParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([RatingCreateParams] | [RuleRating, AxiosRequestConfig])) => Promise>; export default ratingCreateParamCreator; //# sourceMappingURL=index.d.ts.map