import type { _NSArray } from "../Foundation/NSArray.js";
import type { _NSCoding } from "../Foundation/NSCoding.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSAnimatablePropertyContainer } from "./NSAnimatablePropertyContainer.js";
import type { _NSSplitViewItemAccessoryViewController } from "./NSSplitViewItemAccessoryViewController.js";
import type { _NSViewController } from "./NSViewController.js";
import type { NSSplitViewItemBehavior } from "./NSSplitViewItemBehavior.js";
import type { NSSplitViewItemCollapseBehavior } from "./NSSplitViewItemCollapseBehavior.js";
import type { NSTitlebarSeparatorStyle } from "./NSTitlebarSeparatorStyle.js";
export declare class _NSSplitViewItem extends _NSObject {
    static alloc(): _NSSplitViewItem;
    static new(): _NSSplitViewItem;
    init(): _NSSplitViewItem;
    /**
     * Creates an autoreleased SplitViewItem that represents the provided ViewController. All other properties are left at their default. \param viewController The view controller used to set the viewController property \return An autoreleased SplitViewItem.
     */
    static splitViewItemWithViewController$(viewController: _NSViewController): _NSSplitViewItem;
    /**
     * Creates a split view item representing a sidebar for the provided ViewController. Sidebars have standard system behavior, specifically: - Translucent material background - The ability to collapse/uncollapse on split view size changes - The ability to overlay at small split view sizes when in fullscreen - canCollapse is set to YES - minimumThickness and maximumThickness are set to the standard minimum and maximum sidebar size - preferredThicknessFraction is set to the standard fraction for sidebars (0.15) - springLoaded is set to YES \param viewController The view controller used to set the viewController property \return An autoreleased SplitViewItem that acts as a sidebar.
     */
    static sidebarWithViewController$(viewController: _NSViewController): _NSSplitViewItem;
    /**
     * Creates a split view item representing a content list for the provided ViewController, akin to Mail's message list, Note's note list. Content lists have system standard defaults, specifically: - minimumThickness and maximumThickness are set to the system standard for content lists - automaticMaximumThickness is set to the system standard for content lists - preferredThicknessFraction is set to the standard fraction for content lists (0.28 when a neighbor sidebar is visible, 0.33 if not) \param viewController The view controller used to set the viewController property \return An autoreleased SplitViewItem that acts as a content list.
     */
    static contentListWithViewController$(viewController: _NSViewController): _NSSplitViewItem;
    /**
     * Creates a split view item representing an inspector for the provided ViewController. On macOS 14.0 and above inspectors have the following standard system behavior: - canCollapse is set to YES - minimumThickness and maximumThickness are set to the standard inspector size (270) and are not resizable by default \param viewController The view controller used to set the viewController property \return An autoreleased SplitViewItem that acts as an inspector.
     */
    static inspectorWithViewController$(viewController: _NSViewController): _NSSplitViewItem;
    addTopAlignedAccessoryViewController$(childViewController: _NSSplitViewItemAccessoryViewController): void;
    insertTopAlignedAccessoryViewController$atIndex$(childViewController: _NSSplitViewItemAccessoryViewController, index: number): void;
    /**
     * NOTE: you can use this method, or `-removeFromParentViewController:`, whichever is easier.
     */
    removeTopAlignedAccessoryViewControllerAtIndex$(index: number): void;
    addBottomAlignedAccessoryViewController$(childViewController: _NSSplitViewItemAccessoryViewController): void;
    insertBottomAlignedAccessoryViewController$atIndex$(childViewController: _NSSplitViewItemAccessoryViewController, index: number): void;
    /**
     * NOTE: you can use this method, or `-removeFromParentViewController:`, whichever is easier.
     */
    removeBottomAlignedAccessoryViewControllerAtIndex$(index: number): void;
    /**
     * The standard behavior type of the receiver. See initializers for descriptions of each behavior.
     */
    behavior(): NSSplitViewItemBehavior;
    /**
     * The view controller represented by the SplitViewItem. An exception will be thrown if a new viewController is set while the receiving SplitViewItem is added to a SplitViewController.
     */
    viewController(): _NSViewController;
    setViewController$(value: _NSViewController): void;
    /**
     * Whether or not the child ViewController corresponding to the SplitViewItem is collapsed in the SplitViewController. The default is \c NO. This can be set with the animator proxy to animate the collapse or uncollapse. The exact animation used can be customized by setting it in the -animations dictionary with a key of "collapsed". If this is set to YES before it is added to the SplitViewController, it will be initially collapsed and the SplitViewController will not cause the view to be loaded until it is uncollapsed. This is KVC/KVO compliant and will be updated if the value changes from user interaction.
     */
    collapsed(): boolean;
    setCollapsed$(value: boolean): void;
    /**
     * Whether or not the child view controller is collapsible from user interaction - whether by dragging or double clicking a divider. The default is \c NO.
     */
    canCollapse(): boolean;
    setCanCollapse$(value: boolean): void;
    /**
     * The resize behavior when the receiver toggles its `collapsed` state programmatically, both animatedly and not. Defaults to `.Default`.
     */
    collapseBehavior(): NSSplitViewItemCollapseBehavior;
    setCollapseBehavior$(value: NSSplitViewItemCollapseBehavior): void;
    /**
     * A convenience to set the minimum thickness of the split view item -- width for "vertical" split views, height otherwise. If NSSplitViewItemUnspecifiedDimension, no minimum size is enforced by the SplitViewItem, although constraints in the contained view hierarchy might have constraints specify some minimum size on their own. Defaults to NSSplitViewItemUnspecifiedDimension.
     */
    minimumThickness(): number;
    setMinimumThickness$(value: number): void;
    /**
     * A convenience to set the maximum thickness of the split view item -- width for "vertical" split views, height otherwise. If NSSplitViewItemUnspecifiedDimension, no maximum size is enforced by the SplitViewItem, although constraints in the contained view hierarchy might have constraints specify some maximum size on their own. Defaults to NSSplitViewItemUnspecifiedDimension.
     */
    maximumThickness(): number;
    setMaximumThickness$(value: number): void;
    /**
     * The percentage of the contained NSSplitView that the NSSplitViewItem prefers to encompass. This is used when double-clicking on a neighbor divider to return to that standard ratio. As well as after entering fullscreen to determine the initial size of the receiver. Defaults to NSSplitViewItemUnspecifiedDimension, which means no resize will occur on double-clicks, and the absolute size is preserved when entering fullscreen.
     */
    preferredThicknessFraction(): number;
    setPreferredThicknessFraction$(value: number): void;
    /**
     * Sets the priority under which a SplitViewItem will hold its width (for a vertical split view) or height (for a horizontal split view). The view with the lowest priority will be the first to take on additional width if the split view grows or shrinks. The default is \c NSLayoutPriorityDefaultLow.
     */
    holdingPriority(): number;
    setHoldingPriority$(value: number): void;
    /**
     * The maximum thickness of the split view item when resizing due to automatic sizing, such as entering fullscreen with a set preferredThicknessFraction or proportional sizing. The user can still resize up to the absolute maximum size by dragging the divider or otherwise. If NSSplitViewItemUnspecifiedDimension, no automatic maximum is enforced. Defaults to NSSplitViewItemUnspecifiedDimension.
     */
    automaticMaximumThickness(): number;
    setAutomaticMaximumThickness$(value: number): void;
    /**
     * If YES, the split view item can be temporarily uncollapsed during a drag by hovering or deep clicking on its neighboring divider. Defaults to NO.
     */
    springLoaded(): boolean;
    setSpringLoaded$(value: boolean): void;
    /**
     * If YES, the item can be collapsed from a window resize. This can differ from `canCollapse`, to allow divider collapsing but not window resize collapsing or vice versa. Defaults to YES for Sidebars and NO for Inspectors. - Note: Setting `canCollapse` for sidebars will reset this value to that new value.
     */
    canCollapseFromWindowResize(): boolean;
    setCanCollapseFromWindowResize$(value: boolean): void;
    /**
     * Whether or not a sidebar or inspector is allowed to be full height in the window when the `NSFullSizeContentViewWindowMask` style mask is also set. Only applies to NSSplitViewItemBehaviorSidebar and NSSplitViewItemBehaviorInspector. Defaults to YES.
     */
    allowsFullHeightLayout(): boolean;
    setAllowsFullHeightLayout$(value: boolean): void;
    /**
     * Specifies a preference for the style of separator displayed between the titlebar and the content of the split view item. For this value to be applicable, the item's view must be associated with its own titlebar section (see `NSTrackingSeparatorToolbarItem` for more info). The default value is NSTitlebarSeparatorStyleAutomatic. This value is subject to the containing window's preference and can be overridden.
     */
    titlebarSeparatorStyle(): NSTitlebarSeparatorStyle;
    setTitlebarSeparatorStyle$(value: NSTitlebarSeparatorStyle): void;
    /**
     * When YES, other items such as sidebars or inspectors may appear overlaid on top of this item's `viewController` and this item's `safeAreaInsets` will be adjusted with respect to overlaid content. Defaults to `NO`.
     */
    automaticallyAdjustsSafeAreaInsets(): boolean;
    setAutomaticallyAdjustsSafeAreaInsets$(value: boolean): void;
    /**
     * The following methods allow you to add accessory views to the top/bottom of this splitViewItem. See `NSSplitViewItemAccessoryViewController` for more details.
     */
    topAlignedAccessoryViewControllers(): _NSArray;
    setTopAlignedAccessoryViewControllers$(value: _NSArray): void;
    bottomAlignedAccessoryViewControllers(): _NSArray;
    setBottomAlignedAccessoryViewControllers$(value: _NSArray): void;
}
export interface _NSSplitViewItem extends _NSAnimatablePropertyContainer, _NSCoding {
}
