export declare const convertParamObjectToUrlString: (paramObject: any) => string;
export declare const buildQueryString: (url: any, query?: any) => any;
export declare function makeRequest(options: any): Promise<any>;
declare const d4lRequest: {
    currentUserId: any;
    currentUserLanguage: any;
    masterAccessToken: any;
    accessTokens: {};
    /**
     * @returns {Promise<String>} resolves to the accessToken of the logged in user
     */
    requestAccessToken: any;
    reset(): void;
    setMasterAccessToken(accessToken: any): void;
    setAccessToken(userId: any, accessToken: any): void;
    /**
     * returns the accessToken if known or fetches it for the given ownerId and stores it.
     *
     * @param {String} ownerId=null - accessToken's ownerId, logged in user's by default
     * @returns {Promise<String>} the accessToken of the requested owner
     */
    getAccessToken(ownerId: any): any;
    submit(type: any, path: any, { body, headers, responseType, authorize, ownerId, query, includeResponseHeaders, }?: {
        body?: {};
        headers?: {};
        responseType?: string;
        authorize?: boolean;
        ownerId?: any;
        query?: any;
        includeResponseHeaders?: boolean;
    }): any;
};
export default d4lRequest;
