import { AxiosProxyConfig } from 'axios'; import { PhotoClient } from './client/photo'; export declare class FiveHundredPX { private globalRequestConfig; private defaultLimit?; /** * Defines the hostname, port, and protocol of the proxy server. * Use `false` to disable proxy. * If the proxy server uses HTTPS, then you must set the protocol to `https`. * @param options Proxy settings */ setProxy(options: AxiosProxyConfig | false): void; /** * Specifies the number of milliseconds before the request times out. * If the request takes longer than `timeout`, the request will be aborted. * @param timeout Number in milliseconds */ setTimeout(timeout: number): void; /** * Overwrites the default limit parameter in all the API calls. * @param limit A positive number between 1 to 50. */ setDefaultLimit(limit: number): void; /** * Creates a client with preset configuration to work with 500px API * @returns Instance of created Axios client */ private createAPI; /** * Creates a client with preset configuration to work with 500px Web API * @returns Instance of created Axios client */ /** * Creates a client with preset configuration to work with 500px Legacy API * @returns Instance of created Axios client */ /** * Generates a new instance of PhotoClient to work with. * @returns New instance of PhotoClient */ get photo(): PhotoClient; }