/** @packageDocumentation * @module StatusBar */ import { SnapMode } from "@itwin/core-frontend"; import type { CommonProps } from "@itwin/core-react"; import * as React from "react"; /** Defines properties supported by the SnapMode Field Component. */ interface SnapModeFieldProps extends CommonProps { /** Uses redux store as a fallback. Defaults to {@link SnapMode.NearestKeypoint}. * @note Enum flags are supported. */ snapMode?: SnapMode; /** The list of snap modes available for selection. Defaults to all the modes.*/ availableSnapModes?: SnapMode[]; onChange?: (newSnapMode: SnapMode) => void; } /** `SnapModeField` component designed to be specified in a status bar. It will * display the active snap mode that AccuSnap will use and allow the user to select a new snap mode. * @public */ export declare function SnapModeField(props: SnapModeFieldProps): React.JSX.Element; export {}; //# sourceMappingURL=SnapMode.d.ts.map