declare module 'plex-api' { export default class PlexAPI { constructor(intiialOptions: { hostname: string; post: number; token?: string; authenticator: { authenticate: ( _plexApi: PlexAPI, cb: (err?: string, token?: string) => void ) => void; }; options: { identifier: string; product: string; deviceName: string; platform: string; }; }); query: >(endpoint: string) => Promise; } }