import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import { PaddingMode } from "../../ui.js"; import { BtnPrimaryAdditionalAtm } from "../atoms/btnPrimaryAdditionalAtm.js"; import { BtnStrokeAdditionalAtm } from "../atoms/btnStrokeAdditionalAtm.js"; import { ButtonAction } from "../atoms/buttonAction.js"; import { ChipStatusAtm } from "../atoms/chipStatusAtm.js"; import { TickerAtmType } from "../atoms/enums/tickerAtmType.js"; import { ExtraSmallIconAtm } from "../atoms/extraSmallIconAtm.js"; import { IconUrlAtm } from "../atoms/iconUrlAtm.js"; import { SmallIconAtm } from "../atoms/smallIconAtm.js"; import { TickerAtm } from "../atoms/tickerAtm.js"; import { AttentionIconMessageMlc } from "./attentionIconMessageMlc.js"; export declare const protobufPackage = "ua.gov.diia.types.ds.molecules"; /** @see https://diia.atlassian.net/wiki/spaces/DIIA/pages/1358626824/cardMlc */ export interface CardMlc { id: string; chipStatusAtm?: ChipStatusAtm | undefined; label?: string | undefined; title: string; subtitle?: CardMlcSubtitle | undefined; description?: string | undefined; botLabel?: string | undefined; ticker?: CardMlcTicker | undefined; tickerAtm?: TickerAtm | undefined; btnPrimaryAdditionalAtm?: BtnPrimaryAdditionalAtm | undefined; btnStrokeAdditionalAtm?: BtnStrokeAdditionalAtm | undefined; componentId?: string | undefined; subtitles: CardMlcSubtitle[]; } export interface CardMlcSubtitle { icon?: string | undefined; value: string; } export interface CardMlcTicker { text: string; type: TickerAtmType; } /** @see https://diia.atlassian.net/wiki/spaces/DIIA/pages/2006745090/cardMlcV2 */ export interface CardMlcV2 { componentId?: string | undefined; chipStatusAtm?: ChipStatusAtm | undefined; label: string; descriptions: string[]; chips: CardMlcChip[]; iconUrlAtm?: IconUrlAtm | undefined; smallIconAtm?: SmallIconAtm | undefined; action?: ButtonAction | undefined; rows: string[]; paddingMode?: PaddingMode | undefined; smallIconAtmWithStates?: SmallIconAtmWithStates | undefined; rightLabel?: string | undefined; attentionIconMessageMlc?: AttentionIconMessageMlc | undefined; iconTexts: IconText[]; } export interface CardMlcChip { chipStatusAtm?: ChipStatusAtm | undefined; } export interface SmallIconAtmWithStates { currentState: string; states: SmallIconAtmState[]; } export interface SmallIconAtmState { name: string; icon: SmallIconAtm | undefined; } export interface IconText { text: string; iconLeft?: ExtraSmallIconAtm | undefined; } export declare const CardMlc: MessageFns; export declare const CardMlcSubtitle: MessageFns; export declare const CardMlcTicker: MessageFns; export declare const CardMlcV2: MessageFns; export declare const CardMlcChip: MessageFns; export declare const SmallIconAtmWithStates: MessageFns; export declare const SmallIconAtmState: MessageFns; export declare const IconText: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create(base?: DeepPartial): T; fromPartial(object: DeepPartial): T; } export {};