import type { DeepPartial } from "../utils"; import { ButtonConfiguration } from "./Common"; import { SelectCameraMenu } from "./SelectCameraMenu"; import { StyledText } from "./Common"; /** Configuration of the top bar's appearance. */ export declare class TopBarConfiguration { /** Appearance of the top bar's title. @defaultValue new StyledText({ "visible": false, "text": "Scan Item", "color": "?sbColorOnPrimary" }); */ title: StyledText; /** The visual mode used for the top bar. @defaultValue "SOLID"; */ mode: TopBarMode; /** The background color of the top bar to be used when the visual mode is specified as SOLID. Otherwise ignored. @defaultValue "?sbColorPrimary"; */ backgroundColor: string; /** Configuration of the 'cancel' button's appearance. @defaultValue new ButtonConfiguration({ "text": "Cancel", "background": new BackgroundStyle({ "strokeColor": "#00000000", "fillColor": "#00000000", "strokeWidth": 0.0 }), "foreground": new ForegroundStyle({ "color": "?sbColorOnPrimary" }) }); */ cancelButton: ButtonConfiguration; /** Configuration of the 'select camera' button, located in the top bar. @defaultValue new SelectCameraMenu({}); */ cameraSelect: SelectCameraMenu; /** @param source {@displayType `DeepPartial`} */ constructor(source?: DeepPartial); } /** The visual mode used for the top bar. - `SOLID`: Display the top bar with a background color or with transparency. - `GRADIENT`: Display the top bar with a gradient background color or a gradient with transparency. The buttons will still be visible. - `HIDDEN`: Hide the top bar completely. */ export type TopBarMode = /** Display the top bar with a background color or with transparency. */ "SOLID" /** Display the top bar with a gradient background color or a gradient with transparency. The buttons will still be visible. */ | "GRADIENT" /** Hide the top bar completely. */ | "HIDDEN"; /** @hidden */ export declare const TopBarModeValues: ReadonlyArray;