import { UrlConfig } from '@acoustic-content-sdk/api'; import { Reducer } from 'redux'; /** * State that covers the {@link @acoustic-content-sdk/api#UrlConfig | configuration} of the URLs to be used * when working with {@link https://developer.ibm.com/api/view/dx-prod:ibm-watson-content-hub:title-IBM_Watson_Content_Hub | WCH REST} services. * * @remarks * Note that all URLs in this object are guaranteed to be absolute URLs and to end with a trailing slash. */ export declare type UrlConfigState = UrlConfig; /** * Decodes the URL configuration from a URL provider * * @param aApiUrl - the API URL * @param aDocument - optionally the document * * @returns the configuration */ export declare function wchGetUrlConfig(aApiUrl: string, aDocument?: Document): UrlConfig; /** * reducers for config settings */ export declare const urlConfigReducer: Reducer;