import { ICreateTodo, ITodo, ITodoQuery, IUpdateTodo } from './todo.dto'; import { AxiosInstance } from 'axios'; declare const todosApi: (axios: AxiosInstance) => { list(query?: ITodoQuery): Promise>; create(data: ICreateTodo): Promise>; retrieve(id: string): Promise>; update(id: string, data: IUpdateTodo): Promise>; delete(id: string): Promise>; }; export default todosApi;