import type { Action } from "@vertigis/arcgis-extensions/support/Action";
import type { FeatureDetailsModelProperties as CommonFeatureDetailsModelProperties } from "../common/FeatureDetailsModelProperties.js";
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
/**
 * Base properties for the feature-details and feature-summary components.
 */
export interface FeatureInfoModelProperties extends CommonFeatureDetailsModelProperties, ComponentModelProperties {
    /**
     * A command or set of commands to execute when a feature is added into the
     * collection.
     */
    onFeatureAdd?: Action;
    /**
     * A command or set of commands to execute when an interactive feature
     * editing session begins.
     */
    onFeatureEdit?: Action;
    /**
     * A command or set of commands to execute when a feature is removed from
     * the collection.
     */
    onFeatureRemove?: Action;
    /**
     * A command or set of commands to execute when a related record is clicked.
     * The related Feature is passed in as the argument for the command(s).
     */
    onRelatedRecordClick?: Action;
    /**
     * If true, the feature details instance will show a button that runs the
     * action that places the feature in edit mode.
     */
    showEditButton?: boolean;
    /**
     * If true, the feature details instance will show a button that deletes the
     * feature permanently.
     */
    showDeleteButton?: boolean;
}
