import type Viewpoint from "@arcgis/core/Viewpoint";
import type { Extent } from "./Extent.js";
/**
 * Predefined bookmarks for use by the application. A bookmark is a saved map
 * extent that allows end users to quickly navigate to a particular area of
 * interest.
 *
 * See
 * {@link https://developers.arcgis.com/web-map-specification/objects/bookmark/}.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface Bookmark {
    /**
     * @deprecated An extent object containing a spatial reference, a lower left
     *   coordinate, and an upper right coordinate defining the rectangular area
     *   of the bookmark. The spatial reference must be the same as the map
     *   spatial reference.
     */
    extent?: Extent;
    /**
     * A string name for the bookmark.
     */
    name: string;
    /**
     * Object containing a thumbnail image.
     */
    thumbnail?: {
        /**
         * The URI pointing to the thumbnail image. Can be a URL or a
         * base64-encoded image.
         */
        url?: string;
    };
    /**
     * Represents the location displayed on the map. If viewpoint is defined,
     * ignore the extent. If viewpoint is not defined, use the extent property.
     * For backwards compatibility, please save both extent and viewpoint
     * properties.
     */
    viewpoint?: Viewpoint;
}
