import { VegaEAEventType } from '../../../../types/ui.type';
import { VegaEATriggerStrategy, VegaEATriggerContext, VegaEATriggerResult } from './trigger-strategy.interface';
/**
 * A trigger strategy that hides the appendable element when a global mouse down event occurs outside the element.
 */
export declare class ClickOutsideOnlyToDismissStrategy implements VegaEATriggerStrategy {
  /**
   * Determines if the strategy can evaluate the given event type.
   *
   * @param {VegaEAEventType} type - The type of the event.
   * @returns {boolean} True if the event type is 'globalMouseDown', otherwise false.
   */
  canEvaluate(type: VegaEAEventType): boolean;
  /**
   * Evaluates the trigger context and determines whether to hide the appendable element.
   *
   * @param {VegaEATriggerContext} context - The context of the trigger event.
   * @returns {VegaEATriggerResult} An object indicating whether to hide the appendable element.
   */
  evaluate(context: VegaEATriggerContext): VegaEATriggerResult;
}
