import { AxiosRequestConfig } from 'axios'; import { Comment } from '../models/Comment'; export declare const comments: (config: AxiosRequestConfig) => { find: (params: { postId?: number; id?: number; name?: string; email?: string; body?: string; }) => import("axios").AxiosPromise; findAll: () => import("axios").AxiosPromise; getById: (id: string | number) => import("axios").AxiosPromise; create: (data: Comment) => import("axios").AxiosPromise; findNested: (...urlSegments: any) => (params?: { postId?: number; id?: number; name?: string; email?: string; body?: string; }) => import("axios").AxiosPromise; };