import '../../chipper/js/browser/initialize-globals.js';
import '../../assert/js/assert.js';
import '../../query-string-machine/js/QueryStringMachine.js';
import '../../globals.js';
import HomeScreen from './HomeScreen.js';
import { AnyScreen } from './Screen.js';
export type ScreenReturnType = {
    homeScreen: HomeScreen | null;
    initialScreen: AnyScreen;
    selectedSimScreens: AnyScreen[];
    screens: AnyScreen[];
    allScreensCreated: boolean;
};
/**
 * Given an array of all possible screens that a sim can have, select and order them according to the relevant query
 * parameters. This also will create a homeScreen if needed, and specify the initialScreen for startup.
 *
 * Parameters suffixed with "Provided" will be true if the that query parameter was actually in the URL, as opposed to
 * the value of the query parameter being the default.
 *
 * @author Chris Klusendorf (PhET Interactive Simulations)
 * @author Michael Kauzmann (PhET Interactive Simulations)
 * @author Sam Reid (PhET Interactive Simulations)
 *
 * @param allSimScreens - all of the screens declared by the sim, duck-typed for tests
 * @param homeScreenQueryParameter - from phet.chipper.queryParameters.homeScreen
 * @param homeScreenQueryParameterProvided
 * @param initialScreenIndex - from phet.chipper.queryParameters.initialScreen
 * @param initialScreenQueryParameterProvided
 * @param screensQueryParameter - from phet.chipper.queryParameters.screens
 * @param screensQueryParameterProvided
 * @param createHomeScreen
 * @returns - duck-typed for tests
 * @throws Error if incompatible data is provided
 */
export default function selectScreens(allSimScreens: AnyScreen[], homeScreenQueryParameter: boolean, homeScreenQueryParameterProvided: boolean, initialScreenIndex: number, initialScreenQueryParameterProvided: boolean, screensQueryParameter: number[], screensQueryParameterProvided: boolean, setupScreens: (screens: AnyScreen[]) => void, createHomeScreen: (screens: AnyScreen[]) => HomeScreen): ScreenReturnType;
//# sourceMappingURL=selectScreens.d.ts.map