import type { NobjcObject } from "objc-js";
import type { _NSGestureRecognizer } from "./NSGestureRecognizer.js";
import type { _NSImage } from "./NSImage.js";
import type { _NSTouchBar } from "./NSTouchBar.js";
import type { _NSTouchBarItem } from "./NSTouchBarItem.js";
import type { _NSView } from "./NSView.js";
import type { _NSString } from "../Foundation/NSString.js";
export declare class _NSPopoverTouchBarItem extends _NSTouchBarItem {
    static alloc(): _NSPopoverTouchBarItem;
    static new(): _NSPopoverTouchBarItem;
    init(): _NSPopoverTouchBarItem;
    /**
     * Replaces the main NSTouchBar with this item's popover NSTouchBar. If this item is not visible, this method will have no effect. If this item ceases to be visible, the popover NSTouchBar will automatically be ordered out.
     */
    showPopover$(sender: NobjcObject | null): void;
    /**
     * This method will restore the previously visible main NSTouchBar. This method can be invoked explicitly to order out a popover if interacting with an item inside it should close it.
     */
    dismissPopover$(sender: NobjcObject | null): void;
    /**
     * Returns a new gesture recognizer, already wired up to send this popover -showPopover:. It is the callers responsibility to attach this GR to a custom collapsedRepresentation view
     */
    makeStandardActivatePopoverGestureRecognizer(): _NSGestureRecognizer;
    /**
     * The NSTouchBar displayed when this item is "popped." By default this is an empty bar that cannot be customized. This property is archived.
     */
    popoverTouchBar(): _NSTouchBar;
    setPopoverTouchBar$(value: _NSTouchBar): void;
    /**
     * The localized string labelling this item during user customization. The default value is the empty string. This property is archived.
     */
    customizationLabel(): _NSString;
    setCustomizationLabel$(value: _NSString): void;
    /**
     * The view displayed when the item is in its hosted NSTouchBar. By default, this is an NSButton whose target is this popover item, whose action is showPopover:, and whose image and title are bound to this item's collapsedRepresentationImage and collapsedRepresentationLabel respectively. This property is archived.
     */
    collapsedRepresentation(): _NSView;
    setCollapsedRepresentation$(value: _NSView): void;
    /**
     * The image displayed by the button used by default for the default collapsed representation. If the collapsedRepresentation button has been replaced by a different view, this property may not have any effect. This property is archived.
     */
    collapsedRepresentationImage(): _NSImage | null;
    setCollapsedRepresentationImage$(value: _NSImage | null): void;
    /**
     * The localized string displayed by the button used by default for the default collapsed representation. If the collapsedRepresentation button has been replaced by a different view, this property may not have any effect. This property is archived.
     */
    collapsedRepresentationLabel(): _NSString;
    setCollapsedRepresentationLabel$(value: _NSString): void;
    /**
     * An NSTouchBar to be used exclusively for press-and-hold popovers. This NSTouchBar can be the same as the one used for "popoverTouchBar" property, but does not have to be. When non-nil this NSTouchBar will be displayed while the user holds their finger down on the collapsed representation and released when the user raises their finger. This tracking behavior is automatic, but popovers with custom collapsed representations will still need to send -showPopover: to start tracking. This property is archived.
     */
    pressAndHoldTouchBar(): _NSTouchBar | null;
    setPressAndHoldTouchBar$(value: _NSTouchBar | null): void;
    /**
     * When YES, automatically displays a close button in the popover. When NO it is the responsibility of the client to dismiss the popover.
     */
    showsCloseButton(): boolean;
    setShowsCloseButton$(value: boolean): void;
}
