import { ICreateBook, IBook, IBookQuery, IUpdateBook } from './book.dto'; import { AxiosInstance } from 'axios'; declare const booksApi: (axios: AxiosInstance) => { list(query?: IBookQuery): Promise>; create(data: ICreateBook): Promise>; retrieve(id: string): Promise>; update(id: string, data: IUpdateBook): Promise>; delete(id: string): Promise>; }; export default booksApi;