/// <reference types="@geoscene/core/interfaces.d.ts" />
/// <reference types="../../index.d.ts" />
import { Use } from '@arcgis/lumina/controllers';
import { default as HomeViewModel } from '@geoscene/core/widgets/Home/HomeViewModel.js';
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
import { GeosceneReferenceElement } from '../../utils/component-utils';

declare const useHomeViewModel: (component: LitElement & Pick<HomeViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<HomeViewModel>) => HomeViewModel;
/**
 * The Home component is a button that navigates back to the
 * initial [Viewpoint](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-Viewpoint.html)
 * or a previously defined `viewpoint`.
 *
 * [Read more...](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-home/)
 *
 * @example
 *  ```js
 * // Create viewpoint centered on extent of a polygon geometry
 *
 * let vp = new Viewpoint({
 *   targetGeometry: geom.extent
 * });
 *
 * // Sets the Home's viewpoint to that Viewpoint
 * home.viewpoint = vp;
 * ```
 */
export declare class GeosceneHome extends LitElement {
    /**
     * If true, the component will not be destroyed automatically when it is
     * disconnected from the document. This is useful when you want to move the
     * component to a different place on the page, or temporarily hide it. If this
     * is set, make sure to call the [destroy](https://doc.geoscene.cn/javascript/4.33/references/map-components/geoscene-home/#destroy) method when you are done to
     * prevent memory leaks.
     *
     * @default false
     */
    autoDestroyDisabled: boolean;
    /**
     * This function provides the ability to override either the
     * [MapView goTo()](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-MapView.html#goTo) or
     * [SceneView goTo()](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-views-SceneView.html#goTo) methods.
     *
     * [Read more...](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-widgets-Home-HomeViewModel.html#goToOverride)
     */
    goToOverride: nullish | __geoscene.GoToOverride;
    /**
     * Icon which represents the component.
     * Typically used when the component is controlled by another component (e.g. by the Expand component).
     *
     * @see [Calcite Icons](https://doc.geoscene.cn/calcite-design-system/icons/)
     * @default "home"
     */
    icon?: string;
    /** The component's default label. */
    label?: string;
    /**
     * Replace localized message strings with your own strings.
     *
     * _**Note**: Individual message keys may change between releases._
     */
    messageOverrides?: typeof this.messages._overrides;
    /** @default "top-left" */
    position: __geoscene.UIPosition;
    /**
     * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
     *
     * @see [Associate components with a Map or Scene component](https://doc.geoscene.cn/javascript/4.33/programming-patterns/#associate-components-with-a-map-or-scene-component)
     */
    referenceElement?: GeosceneReferenceElement | string;
    /**
     * The current state of the component.
     *
     * @default "disabled"
     */
    readonly state: "ready" | "disabled" | "going-home";
    /**
     * The [Viewpoint](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-Viewpoint.html)
     * to go to when going "home".
     * The initial value is determined in a few different ways:
     *
     * If no referenceElement is provided, the value is `null`.
     * Once the referenceElement is ready, the initial viewpoint value is the user-defined [Viewpoint](https://doc.geoscene.cn/javascript/4.33/api-reference/geoscene-Viewpoint.html).
     *
     * @example
     *  ```js
     * // Create viewpoint centered on extent of a polygon geometry
     *
     * let vp = new Viewpoint({
     *   targetGeometry: geom.extent
     * });
     *
     * // Sets the Home's viewpoint to that Viewpoint
     * home.viewpoint = vp;
     * ```
     * @default null
     */
    viewpoint: nullish | __geoscene.Viewpoint;
    /**
     * This function provides the ability to interrupt and cancel the process
     * of navigating back to the initial extent.
     */
    cancelGo(): Promise<void>;
    /** Permanently destroy the component. */
    destroy(): Promise<void>;
    /**
     * Animates the map or scene to its initial Viewpoint or the
     * value of `viewpoint`.
     */
    go(): Promise<void>;
    /**
     * Fires when the go() method is called.
     *
     * @example
     * ```js
     * home.addEventListener("geosceneGo", (event) => {
     *   console.log("updating viewpoint");
     * });
     * ```
     */
    readonly geosceneGo: TargetedEvent<this, __geoscene.HomeViewModelGoEvent>;
    /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
    readonly geoscenePropertyChange: TargetedEvent<this, {
        name: "state";
    }>;
    /** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
    readonly geosceneReady: TargetedEvent<this, void>;
    private messages: Partial<{
        componentLabel: string;
        title: string;
        cancel: string;
    }> & import('@arcgis/lumina/controllers').T9nMeta<{
        componentLabel: string;
        title: string;
        cancel: string;
    }>;
}
export {};