import '../../../../../globals.js';
import optionize from '../../../../../phet-core/js/optionize.js';
import { ReadingBlock, ReadingBlockHighlight, scenery, Text } from '../../../imports.js';
class VoicingText extends ReadingBlock(Text) {
    constructor(text, providedOptions) {
        const options = optionize()({
            // {string|null} - if provided, alternative text that will be spoken that is different from the
            // visually displayed text
            readingBlockNameResponse: text,
            // pdom
            innerContent: text
        }, providedOptions);
        super(text);
        // unique highlight for non-interactive components
        this.focusHighlight = new ReadingBlockHighlight(this);
        this.mutate(options);
    }
}
scenery.register('VoicingText', VoicingText);
export default VoicingText;
//# sourceMappingURL=VoicingText.js.map