import { GlobalSlimmerConfig, VegaSlimmer } from '../../../vega-slimmer/vega-slimmer-core';
/**
 * The `VegaWatchMethodCancelSlimmer` class is a TypeScript class that removes
 * the body of watch methods when a component is not fully instantiated and
 * applies the original method body when the component is fully instantiated.
 */
export declare class VegaWatchMethodCancelSlimmer extends VegaSlimmer {
  private component;
  private originalWatchers;
  /**
   * while component reattached, the component will call `connectedCallback` but not call `componentDidLoad`,
   * so we add this flag to skip empty the watch function in this case.
   */
  private hasDisconnected;
  private isEnabled;
  /**
   * The connectedCallback function removes the body of watch methods when the component is not fully
   * instantiated.
   */
  connectedCallback(): void;
  /**
   * The `@MapToComponentMethod('disconnectedCallback')` decorator is used to map the `disconnectedCallback` method
   * to the corresponding method in the Stencil component.
   */
  disconnectedCallback(): void;
  /**
   * The `componentDidLoad` function applies the original method body to the component's watchers when
   * the component is fully instantiated.
   */
  componentDidLoad(): void;
  /**
   * The constructor function takes a component object as a parameter and assigns it to the "component"
   * property of the class.
   *
   * @param {GlobalSlimmerConfig} option - The `option` parameter is of type `GlobalSlimmerConfig`.
   * It is an object that represents a component in a software system.
   */
  constructor(option: GlobalSlimmerConfig);
}
