import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { Comment } from '../models'; export declare const CommentsApiAxiosParamCreator: (configuration?: Configuration) => { createComment: (comment: Comment, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; getComments: (ownerType: GetCommentsOwnerTypeEnum, ownerKey: string, offset?: number, limit?: number, paginationDetails?: GetCommentsPaginationDetailsEnum, options?: RawAxiosRequestConfig) => Promise; }; export declare const CommentsApiFp: (configuration?: Configuration) => { createComment(comment: Comment, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; getComments(ownerType: GetCommentsOwnerTypeEnum, ownerKey: string, offset?: number, limit?: number, paginationDetails?: GetCommentsPaginationDetailsEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; }; export declare const CommentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { createComment(comment: Comment, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; getComments(ownerType: GetCommentsOwnerTypeEnum, ownerKey: string, offset?: number, limit?: number, paginationDetails?: GetCommentsPaginationDetailsEnum, options?: RawAxiosRequestConfig): AxiosPromise>; }; export declare class CommentsApi extends BaseAPI { createComment(comment: Comment, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise>; getComments(ownerType: GetCommentsOwnerTypeEnum, ownerKey: string, offset?: number, limit?: number, paginationDetails?: GetCommentsPaginationDetailsEnum, options?: RawAxiosRequestConfig): Promise>; } export declare const GetCommentsOwnerTypeEnum: { readonly Client: "CLIENT"; readonly Group: "GROUP"; readonly LoanProduct: "LOAN_PRODUCT"; readonly SavingsProduct: "SAVINGS_PRODUCT"; readonly Centre: "CENTRE"; readonly Branch: "BRANCH"; readonly User: "USER"; readonly LoanAccount: "LOAN_ACCOUNT"; readonly DepositAccount: "DEPOSIT_ACCOUNT"; readonly IdDocument: "ID_DOCUMENT"; readonly LineOfCredit: "LINE_OF_CREDIT"; readonly GlJournalEntry: "GL_JOURNAL_ENTRY"; }; export type GetCommentsOwnerTypeEnum = (typeof GetCommentsOwnerTypeEnum)[keyof typeof GetCommentsOwnerTypeEnum]; export declare const GetCommentsPaginationDetailsEnum: { readonly On: "ON"; readonly Off: "OFF"; }; export type GetCommentsPaginationDetailsEnum = (typeof GetCommentsPaginationDetailsEnum)[keyof typeof GetCommentsPaginationDetailsEnum];