import { IActivityHandler, Deferrable } from "../../IActivityHandler";
/** Defines inputs for the Relate activity. This activity relies on the geometry engine. */
export interface RelateEngineTaskInputs {
    /** The first geometry for the relation. */
    geometry1: __esri.Geometry;
    /** The second geometry for the relation. */
    geometry2: __esri.Geometry;
    /** The Dimensionally Extended 9 Intersection Model (DE-9IM) matrix relation (encoded as a string) to test against the relationship of the two geometries. This string contains the test result of each intersection represented in the DE-9IM matrix. Each result is one character of the string and may be represented as either a number (maximum dimension returned: 0,1,2), a Boolean value (T or F), or a mask character (for ignoring results: '*'). See https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngineAsync.html#relate. */
    relations: string | string[];
}
/** Defines outputs for the Relate activity. */
export interface RelateEngineTaskOutputs {
    /** Returns true if the relation holds on the input geometries. */
    incident?: boolean;
    /** Returns an array of values that indicate what aspects of the relation hold. */
    incidents?: boolean[];
}
export declare class RelateEngineTask implements IActivityHandler {
    static action: string;
    static suite: string;
    execute(inputs: RelateEngineTaskInputs): Deferrable<RelateEngineTaskOutputs>;
}
