declare const badgeColorValues: { readonly blue: "#EFF7FF"; readonly cyan: "#E8FCFF"; readonly fuchsia: "#FFECFF"; readonly green: "#EAFDEF"; readonly grey: "#F5F9FF"; readonly lightGrey: "#F9F9F9"; readonly orange: "#FFF4E8"; readonly pink: "#FFEDFA"; readonly purple: "#FAF3FF"; readonly red: "#FFEDED"; readonly teal: "#E8FDFA"; readonly yellow: "#FFFEE8"; readonly blueSolid: "#2B7FFF"; readonly cyanSolid: "#00D3F2"; readonly fuchsiaSolid: "#E12AFB"; readonly greenSolid: "#31DE69"; readonly greySolid: "#62748E"; readonly lightGreySolid: "#D4D4D4"; readonly orangeSolid: "#FF8904"; readonly pinkSolid: "#F6339A"; readonly purpleSolid: "#8E51FF"; readonly redSolid: "#FB2E27"; readonly tealSolid: "#00D5BE"; readonly yellowSolid: "#FCC801"; readonly custom: any; }; export type ElementPropertyOptionBadgeColor = keyof typeof badgeColorValues; export type ElementPropertyOptionRemoteModel = { id: string; name: string; backgroundColor: { value: string; }; }; export type ElementPropertyOptionCreationModel = ElementPropertyOptionRemoteModel; export type ElementPropertyOptionUpdateModel = ElementPropertyOptionRemoteModel; export declare class ElementPropertyOption { id: string; name: string; backgroundColor: string | null; constructor(model: ElementPropertyOptionRemoteModel); static toHex6(rawColor: string): string; static toHex8(rawColor: string): string; /** Constructs directly manipulable update object for property option */ toUpdateObject(): ElementPropertyOptionUpdateModel; /** Returns background color represented as badge color. * If badge color is different from what badge defines as base, return `custom`. * */ asBadgeColor(): ElementPropertyOptionBadgeColor; /** * Sets background color from hex color or badge color name. * @param color - Hex color or badge color name */ setBackgroundColor(color: string): void; } export {};