interface Opts { accessToken: string } declare module 'amio-sdk-js' { class AmioApi { channels: { get(channelId: string): Promise list(params?: any): Promise create(request: any): Promise update(channelId: string, request: any): Promise delete(channelId: string): Promise } accessToken: string constructor(opts: Opts) } }