import type { Pool } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type GetPoolByIdInput = { poolId: string } const getPoolById = (http: HttpClient) => ({ query: ( input: GetPoolByIdInput, ): Promise> => { return http.get(`v3/admin/pools/${input.poolId}`) }, }) export default getPoolById