import '../../../chipper/js/browser/initialize-globals.js';
import '../../../assert/js/assert.js';
import '../../../globals.js';
/**
 * RectangularRadioButtonGroup is a group of rectangular radio buttons, in either horizontal or vertical orientation.
 * See sun.ButtonsScreenView for example usage.
 *
 * @author Aaron Davis (PhET Interactive Simulations)
 * @author Chris Malley (PixelZoom, Inc.)
 */
import PhetioProperty from '../../../axon/js/PhetioProperty.js';
import PickOptional from '../../../phet-core/js/types/PickOptional.js';
import StrictOmit from '../../../phet-core/js/types/StrictOmit.js';
import { FlowBox, FlowBoxOptions, Node, ParallelDOMOptions, TrimParallelDOMOptions } from '../../../scenery/js/imports.js';
import TSoundPlayer from '../../../tambo/js/TSoundPlayer.js';
import GroupItemOptions from '../GroupItemOptions.js';
import RectangularRadioButton, { RectangularRadioButtonOptions } from './RectangularRadioButton.js';
export type RectangularRadioButtonGroupItem<T> = {
    value: T;
    label?: Node;
    phetioDocumentation?: string;
    options?: StrictOmit<RectangularRadioButtonOptions, 'tandem'>;
} & GroupItemOptions;
export type RectangularRadioButtonLabelAlign = 'top' | 'bottom' | 'left' | 'right';
type SelfOptions = {
    soundPlayers?: TSoundPlayer[] | null;
    labelAlign?: RectangularRadioButtonLabelAlign;
    labelSpacing?: number;
    touchAreaXDilation?: number;
    touchAreaYDilation?: number;
    mouseAreaXDilation?: number;
    mouseAreaYDilation?: number;
    radioButtonOptions?: StrictOmit<RectangularRadioButtonOptions, 'soundPlayer' | // use SelfOptions.soundPlayers
    'touchAreaXDilation' | // use SelfOptions.touchAreaXDilation
    'touchAreaYDilation' | // use SelfOptions.touchAreaYDilation
    'mouseAreaXDilation' | // use SelfOptions.mouseAreaXDilation
    'mouseAreaYDilation'>;
};
type TrimmedParentOptions = TrimParallelDOMOptions<FlowBoxOptions> & PickOptional<ParallelDOMOptions, 'labelTagName'>;
export type RectangularRadioButtonGroupOptions = SelfOptions & StrictOmit<TrimmedParentOptions, 'children'>;
export default class RectangularRadioButtonGroup<T> extends FlowBox {
    private readonly disposeRadioButtonGroup;
    private readonly radioButtonMap;
    constructor(property: PhetioProperty<T>, items: RectangularRadioButtonGroupItem<T>[], providedOptions?: RectangularRadioButtonGroupOptions);
    /**
     * Find the RectangularRadioButton corresponding to a value. Note that in the scene graph, the button may be nested
     * under other layers, so use caution for coordinate transformations.
     * @param value
     * @returns the corresponding button
     */
    getButtonForValue(value: T): RectangularRadioButton<T>;
    dispose(): void;
}
export {};
//# sourceMappingURL=RectangularRadioButtonGroup.d.ts.map