import { Config } from './config';
/**
 * Request options
 */
export type FetchConfigOptions = {
    /** Language */
    lang: string;
    /** Data provider */
    dataProvider?: string;
    /** Signal to abort request */
    signal?: AbortSignal;
};
/**
 * Requests config which is necessary for a map construction
 *
 * @param {FetchConfigOptions} options Request options
 * @param {Config} config Current config
 * @returns {Promise<Config>} Config for map construction
 */
export declare function fetchConfig(options: FetchConfigOptions, config?: Config | undefined): Promise<Config>;
