import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSColor } from "./NSColor.js";
export declare class _NSColorSampler extends _NSObject {
    static alloc(): _NSColorSampler;
    static new(): _NSColorSampler;
    init(): _NSColorSampler;
    /**
     * The primary method for NSColorSampler. Begins or attaches to an existing color sampling session which presents UI to the user for selecting a color from their screen. The handler will be called on the main thread when the user completes the session (either by selection, or cancelation). In the event of user-cancellation, `colorSelectionHandler` will be called with `nil`. The calling NSColorSampler instance is retained until the sampling session is completed.
     */
    showSamplerWithSelectionHandler$(selectionHandler: ((selectedColor: _NSColor) => void) | null): void;
}
