/** * # Person * * #### For more info visit https://jikan.docs.apiary.io * * To get person you need to create person object, like that: * ```ts * let person = Jikan.person(id); * ``` * Now you can use person object multiple times to get desired information. * ```ts * person.info(); * person.pictures(); * ``` * Each of those functions returns promise * ## Example * ```ts * person.info() * .then(res => res.data) * .then(personJson => personJson.name); * ``` */ export declare class Person { /** @ignore */ private baseUrl; constructor(id: number); info(): Promise; pictures(): Promise; } export declare function person(id: number): Person;