export interface Adapter { adaptToModel(resp: R, ...rest: any[]): T; adaptFromModel(data: T, ...rest: any[]): R; }