import type { _NSActionCell } from "./NSActionCell.js";
import type { _NSFont } from "./NSFont.js";
import type { _NSAttributedString } from "../Foundation/NSAttributedString.js";
import type { _NSCoder } from "../Foundation/NSCoder.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { CGSize } from "../structs/CGSize.js";
import type { NSTextAlignment } from "./NSTextAlignment.js";
import type { NSWritingDirection } from "./NSWritingDirection.js";
export declare class _NSFormCell extends _NSActionCell {
    static alloc(): _NSFormCell;
    static new(): _NSFormCell;
    init(): _NSFormCell;
    initWithCoder$(coder: _NSCoder): _NSFormCell;
    titleWidth$(size: CGSize): number;
    /**
     * Deprecated in 10.8 and higher. Use setTitle: instead.
     * @deprecated
     */
    setTitleWithMnemonic$(stringWithAmpersand: _NSString): void;
    titleWidth(): number;
    setTitleWidth$(value: number): void;
    title(): _NSString;
    setTitle$(value: _NSString): void;
    titleFont(): _NSFont;
    setTitleFont$(value: _NSFont): void;
    opaque(): boolean;
    placeholderString(): _NSString | null;
    setPlaceholderString$(value: _NSString | null): void;
    placeholderAttributedString(): _NSAttributedString | null;
    setPlaceholderAttributedString$(value: _NSAttributedString | null): void;
    titleAlignment(): NSTextAlignment;
    setTitleAlignment$(value: NSTextAlignment): void;
    titleBaseWritingDirection(): NSWritingDirection;
    setTitleBaseWritingDirection$(value: NSWritingDirection): void;
    /**
     * Determine the preferred width of the text field portion of the receiver. The preferred width is reflected in the cell's cellSize, which will be large enough to accommodate the title, bezel, and a text field of width preferredTextWidth. It is also reflected in the intrinsicContentSize of the NSForm. That is, under autolayout, the NSForm will try to size itself so that the text field cell is the given width, according to the usual content size constraint priorities. If the width is negative, the cellSize matches the historic behavior, which is that it is large enough to accommodate the title, bezel, and the current text. The default is -1. This method can aid migration to autolayout, and is sufficient for simple cases. However, for new apps, prefer to use NSTextFields directly instead of NSForm.
     */
    preferredTextFieldWidth(): number;
    setPreferredTextFieldWidth$(value: number): void;
    attributedTitle(): _NSAttributedString;
    setAttributedTitle$(value: _NSAttributedString): void;
}
