import Class from './class'; export interface IOptions { path?: string; method?: string; cors?: boolean; body?: string; cache?: number; } export default function generateAPI(name: string, options: IOptions): Class;