chromium/third_party/material_web_components/components-chromium/node_modules/@material/web/select/internal/shared.d.ts

/**
 * @license
 * Copyright 2023 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import { SelectOption } from './selectoption/select-option.js';
/**
 * A type that describes a SelectOption and its index.
 */
export type SelectOptionRecord = [SelectOption, number];
/**
 * Given a list of select options, this function will return an array of
 * SelectOptionRecords that are selected.
 *
 * @return An array of SelectOptionRecords describing the options that are
 * selected.
 */
export declare function getSelectedItems(items: SelectOption[]): SelectOptionRecord[];