import { MMapGroupEntity } from "../MMapEnities"; /** * Copyrights position on the map container. By default, 'bottom right'. * For example, 'top left' or 'bottom right' * ```javascript * const map = new mappable.MMap(document.getElementById('map-root'), { * copyrightsPosition: 'top left' * }); * ``` */ type MMapCopyrightsPosition = "top left" | "top right" | "bottom left" | "bottom right"; type MMapCopyrightsProps = { /** Position of copyright on the map */ position?: MMapCopyrightsPosition; /** Show the map scale next to the map */ showScale?: boolean; }; declare const defaultProps: Readonly<{ position: MMapCopyrightsPosition; showScale: false; }>; type DefaultProps = typeof defaultProps; /** * The copyright display component on the map. * Data for display uses from the `MMapCoverage` component */ declare class MMapCopyrights extends MMapGroupEntity { static defaultProps: Readonly<{ position: MMapCopyrightsPosition; showScale: false; }>; private _containerElement; private _copyrightsTextElement; private _agreementLinkElement; private _logoElement; private _copyrightsContainer; private _scaleElement; private _scaleControl; private _copyrights; private _detachDom?; constructor(props?: MMapCopyrightsProps); protected _onAttach(): void; protected _onUpdate(props: Partial): void; protected _onDetach(): void; private _createDom; private _render; private _syncTheme; private _applyCopyrights; private _computeMaxWidth; private _rearrange; private _toggleScaleControl; } export { MMapCopyrights, MMapCopyrightsPosition, MMapCopyrightsProps };