import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import { ButtonState } from "./designSystem/atoms/enums/buttonStateAtmType.js"; import { ContentType } from "./designSystem/atoms/enums/contentTypeAtm.js"; import { ValidationAtm } from "./designSystem/atoms/validationAtm.js"; import { NavigationPanelMlc } from "./designSystem/molecules/navigationPanelMlc.js"; export declare const protobufPackage = "ua.gov.diia.types.ds"; /** @deprecated ua.gov.diia.types.ds.atoms.ContentType used instead */ export declare const AttentionMessageParameterType: { readonly link: "link"; readonly phone: "phone"; readonly email: "email"; }; export type AttentionMessageParameterType = typeof AttentionMessageParameterType[keyof typeof AttentionMessageParameterType]; export declare namespace AttentionMessageParameterType { type link = typeof AttentionMessageParameterType.link; type phone = typeof AttentionMessageParameterType.phone; type email = typeof AttentionMessageParameterType.email; } export declare function attentionMessageParameterTypeFromJSON(object: any): AttentionMessageParameterType; export declare function attentionMessageParameterTypeToJSON(object: AttentionMessageParameterType): string; export declare function attentionMessageParameterTypeToNumber(object: AttentionMessageParameterType): number; export declare const StatusType: { readonly success: "success"; readonly pending: "pending"; readonly fail: "fail"; readonly neutral: "neutral"; }; export type StatusType = typeof StatusType[keyof typeof StatusType]; export declare namespace StatusType { type success = typeof StatusType.success; type pending = typeof StatusType.pending; type fail = typeof StatusType.fail; type neutral = typeof StatusType.neutral; } export declare function statusTypeFromJSON(object: any): StatusType; export declare function statusTypeToJSON(object: StatusType): string; export declare function statusTypeToNumber(object: StatusType): number; export declare const PaddingModeType: { readonly none: "none"; readonly medium: "medium"; readonly large: "large"; readonly extraLarge: "extraLarge"; }; export type PaddingModeType = typeof PaddingModeType[keyof typeof PaddingModeType]; export declare namespace PaddingModeType { type none = typeof PaddingModeType.none; type medium = typeof PaddingModeType.medium; type large = typeof PaddingModeType.large; type extraLarge = typeof PaddingModeType.extraLarge; } export declare function paddingModeTypeFromJSON(object: any): PaddingModeType; export declare function paddingModeTypeToJSON(object: PaddingModeType): string; export declare function paddingModeTypeToNumber(object: PaddingModeType): number; export declare const SquareChipStatusAtmType: { readonly blue: "blue"; readonly grey: "grey"; }; export type SquareChipStatusAtmType = typeof SquareChipStatusAtmType[keyof typeof SquareChipStatusAtmType]; export declare namespace SquareChipStatusAtmType { type blue = typeof SquareChipStatusAtmType.blue; type grey = typeof SquareChipStatusAtmType.grey; } export declare function squareChipStatusAtmTypeFromJSON(object: any): SquareChipStatusAtmType; export declare function squareChipStatusAtmTypeToJSON(object: SquareChipStatusAtmType): string; export declare function squareChipStatusAtmTypeToNumber(object: SquareChipStatusAtmType): number; export interface AttentionMessageParameterData { name: string; alt: string; resource: string; } export interface AttentionMessageParameter { type: ContentType; data: AttentionMessageParameterData | undefined; } export interface AttentionMessage { icon: string; title?: string | undefined; text?: string | undefined; parameters: AttentionMessageParameter[]; } export interface StubMessage { icon?: string | undefined; title?: string | undefined; text?: string | undefined; description?: string | undefined; canRepeat?: boolean | undefined; } export interface ParameterizedText { text: string; parameters: AttentionMessageParameter[]; } export interface LabeledValue { label: string; value: string; } export interface HintedLabel { label: string; hint: string; } export interface ItemListView { title: string; items: ListItem[]; } export interface ListItem { logoLeft: string; iconLeft: string; iconRight: string; label: string; description: string; action: Action | undefined; link: string; state: ButtonState; id: string; } export interface Action { type: string; subtype: string; resource: string; } export interface DefaultButton { label: string; state: ButtonState; action: Action | undefined; } export interface BottomGroup { primaryDefaultButton: DefaultButton | undefined; } export interface TopGroup { navigationBarMlcl: NavigationPanelMlc | undefined; } export interface ContentGroupMlcl { tableBlockMlcl: TableBlockMlcl | undefined; } export interface TableBlockMlcl { tableHeadingMain: TableHeadingMain | undefined; items: TableBlockMlclItem[]; } export interface TableHeadingMain { label: string; } export interface TableBlockMlclItem { tableItemMlcPrimary: LabeledValue | undefined; tableItemMlcHorizontal: LabeledValue | undefined; tableItemMlcVertical: LabeledValue | undefined; } export interface SearchInputAtm { label: string; } export interface PaddingMode { side?: PaddingModeType | undefined; top?: PaddingModeType | undefined; start?: PaddingModeType | undefined; end?: PaddingModeType | undefined; } export interface CodeItem { id: string; maskCode?: string | undefined; placeholder?: string | undefined; label: string; description: string; value: string; icon: string; validation: ValidationAtm[]; } export declare const AttentionMessageParameterData: MessageFns; export declare const AttentionMessageParameter: MessageFns; export declare const AttentionMessage: MessageFns; export declare const StubMessage: MessageFns; export declare const ParameterizedText: MessageFns; export declare const LabeledValue: MessageFns; export declare const HintedLabel: MessageFns; export declare const ItemListView: MessageFns; export declare const ListItem: MessageFns; export declare const Action: MessageFns; export declare const DefaultButton: MessageFns; export declare const BottomGroup: MessageFns; export declare const TopGroup: MessageFns; export declare const ContentGroupMlcl: MessageFns; export declare const TableBlockMlcl: MessageFns; export declare const TableHeadingMain: MessageFns; export declare const TableBlockMlclItem: MessageFns; export declare const SearchInputAtm: MessageFns; export declare const PaddingMode: MessageFns; export declare const CodeItem: 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 {};