import { DefaultSerializeable } from '../serializable'; import { Color } from './Color'; import { ScanditIconShape } from './ScanditIconShape'; import { ScanditIconType } from './ScanditIconType'; export type ScanditIconJSON = { backgroundColor: Color | null; backgroundShape: ScanditIconShape | null; icon: ScanditIconType | null; iconColor: Color | null; backgroundStrokeColor: Color | null; backgroundStrokeWidth: number; }; export interface PrivateScanditIcon { fromJSON(json: ScanditIconJSON): ScanditIcon; } export declare class ScanditIcon extends DefaultSerializeable { private _backgroundColor; private _backgroundShape; private _icon; private _iconColor; private _backgroundStrokeColor; private _backgroundStrokeWidth; private static fromJSON; constructor(iconColor: Color | null, backgroundColor: Color | null, backgroundShape: ScanditIconShape | null, icon: ScanditIconType | null, backgroundStrokeColor: Color | null, backgroundStrokeWidth: number); get backgroundColor(): Color | null; get backgroundShape(): ScanditIconShape | null; get icon(): ScanditIconType | null; get iconColor(): Color | null; get backgroundStrokeColor(): Color | null; get backgroundStrokeWidth(): number; }