export default function request(api: string, config?: { params?: object; method?: string; }): Promise>;