import type { SpecConfiguration } from '@scalar/oas-utils';
import type { ReferenceConfiguration } from './types';
/** Initialize Scalar References and  */
export declare function createScalarReferences(
/** Element to mount the references to */
el: HTMLElement | null, 
/** Configuration object for Scalar References */
initialConfig: ReferenceConfiguration, 
/**
 * Will attempt to mount the references immediately
 * For SSR this may need to be blocked and done client side
 */
mountOnInitialize?: boolean): {
    /** Update the configuration for a mounted reference */
    updateConfig(newConfig: ReferenceConfiguration, mergeConfigs?: boolean): void;
    updateSpec(spec: SpecConfiguration): void;
    /** Mount the references to a given element */
    mount: (mountingEl?: HTMLElement | null) => void;
    /** Unmount the app from an element */
    unmount: () => void;
};
//# sourceMappingURL=esm.d.ts.map