import type { NobjcObject } from "objc-js";
import type { _NSCell } from "./NSCell.js";
import type { _NSColor } from "./NSColor.js";
import type { _NSControl } from "./NSControl.js";
import type { _NSEvent } from "./NSEvent.js";
import type { _NSFont } from "./NSFont.js";
import type { _NSImage } from "./NSImage.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { CGPoint } from "../structs/CGPoint.js";
import type { CGRect } from "../structs/CGRect.js";
import type { NSSliderType } from "./NSSliderType.js";
import type { NSTickMarkPosition } from "./NSTickMarkPosition.js";
import type { NSTintProminence } from "./NSTintProminence.js";
export declare class _NSSlider extends _NSControl {
    static alloc(): _NSSlider;
    static new(): _NSSlider;
    init(): _NSSlider;
    /**
     * Creates a continuous horizontal slider over the range 0.0 to 1.0. The default value is 0.0. @param target The target object that receives action messages from the control. @param action The action message sent by the control. @return An initialized slider control.
     */
    static sliderWithTarget$action$(target: NobjcObject | null, action: string | null): _NSSlider;
    /**
     * Creates a continuous horizontal slider that represents values over a specified range. @param value The initial value displayed by the control. @param minValue The minimum value represented by the control. @param maxValue The maximum value represented by the control. @param target The target object that receives action messages from the control. @param action The action message sent by the control. @return An initialized slider control.
     * @deprecated -setTitleCell: had no effect since 10.0
     */
    static sliderWithValue$minValue$maxValue$target$action$(value: number, minValue: number, maxValue: number, target: NobjcObject | null, action: string | null): _NSSlider;
    acceptsFirstMouse$(event: _NSEvent | null): boolean;
    /**
     * Determine the slider value for a particular tick mark. An NSRangeException will be raised if the index is invalid.
     */
    tickMarkValueAtIndex$(index: number): number;
    /**
     * Determine the bounding rectangle of a particular tick mark. An NSRangeException will be raised if the index is invalid.
     */
    rectOfTickMarkAtIndex$(index: number): CGRect;
    /**
     * Determine whether a particular point is "near" a tick mark and return its index if so. NSNotFound will be returned if no tick mark is close enough to qualify.
     */
    indexOfTickMarkAtPoint$(point: CGPoint): number;
    closestTickMarkValueToValue$(value: number): number;
    /** @deprecated -setTitleCell: had no effect since 10.0 */
    setTitleCell$(cell: _NSCell): void;
    /** @deprecated -titleCell has returned nil since 10.0 */
    titleCell(): NobjcObject;
    /** @deprecated -setTitleColor: had no effect since 10.0 */
    setTitleColor$(newColor: _NSColor): void;
    /** @deprecated -titleColor has returned nil since 10.0 */
    titleColor(): _NSColor;
    /** @deprecated -setTitleFont: had no effect since 10.0 */
    setTitleFont$(fontObj: _NSFont): void;
    /** @deprecated -titleFont has returned nil since 10.0 */
    titleFont(): _NSFont;
    /** @deprecated -title has returned nil since 10.0 */
    title(): _NSString;
    /** @deprecated -setTitle: had no effect since 10.0 */
    setTitle$(string_: _NSString): void;
    /** @deprecated -knobThickness has returned 0 since 10.0 */
    setKnobThickness$(thickness: number): void;
    /** @deprecated -setImage: had no effect since 10.0 */
    setImage$(backgroundImage: _NSImage): void;
    /** @deprecated -image has returned nil since 10.0 */
    image(): _NSImage;
    sliderType(): NSSliderType;
    setSliderType$(value: NSSliderType): void;
    minValue(): number;
    setMinValue$(value: number): void;
    maxValue(): number;
    setMaxValue$(value: number): void;
    /**
     * The value this slider will be filled from. This slider will be filled from its `neutralValue` to its current value. If `neutralValue` has not been explicitly set before, access to `neutralValue` will return `minValue`.
     */
    neutralValue(): number;
    setNeutralValue$(value: number): void;
    altIncrementValue(): number;
    setAltIncrementValue$(value: number): void;
    knobThickness(): number;
    vertical(): boolean;
    setVertical$(value: boolean): void;
    /** The color of the filled portion of the track, in appearances that support it */
    trackFillColor(): _NSColor;
    setTrackFillColor$(value: _NSColor): void;
    /**
     * The tint prominence of the slider. The automatic behavior for a regular slider tints its track fill, while a slider with tick marks is untinted. Setting the tint prominence will override this default behavior and choose an explicit track fill tint behavior. See ``NSTintProminence`` for a list of possible values.
     */
    tintProminence(): NSTintProminence;
    setTintProminence$(value: NSTintProminence): void;
    /**
     * For setting and retrieving the number of tick marks on a slider. 0 indicates no tick marks are present, which is the default
     */
    numberOfTickMarks(): number;
    setNumberOfTickMarks$(value: number): void;
    /**
     * For setting and retrieving the position tick marks will be displayed in. This has no effect if numberOfTickMarks is 0.
     */
    tickMarkPosition(): NSTickMarkPosition;
    setTickMarkPosition$(value: NSTickMarkPosition): void;
    /**
     * For setting and retrieving whether values on the slider can be anything the slider normally allows, or only values that correspond to a tick mark. This has no effect if numberOfTickMarks is 0.
     */
    allowsTickMarkValuesOnly(): boolean;
    setAllowsTickMarkValuesOnly$(value: boolean): void;
}
