import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import { PaddingMode } from "../../ui.js"; import { BtnPrimaryAdditionalAtm } from "../atoms/btnPrimaryAdditionalAtm.js"; import { ControlItemOrg } from "./controlItemOrg.js"; export declare const protobufPackage = "ua.gov.diia.types.ds.organisms"; export declare const ControlType: { readonly singleChoice: "singleChoice"; readonly multipleChoice: "multipleChoice"; }; export type ControlType = typeof ControlType[keyof typeof ControlType]; export declare namespace ControlType { type singleChoice = typeof ControlType.singleChoice; type multipleChoice = typeof ControlType.multipleChoice; } export declare function controlTypeFromJSON(object: any): ControlType; export declare function controlTypeToJSON(object: ControlType): string; export declare function controlTypeToNumber(object: ControlType): number; /** @see https://diia.atlassian.net/wiki/spaces/DIIA/pages/2853470218/controlsContainerOrg */ export interface ControlsContainerOrg { componentId: string; paddingMode?: PaddingMode | undefined; inputCode: string; mandatory?: boolean | undefined; minMandatorySelectedItems?: number | undefined; maxMandatorySelectedItems?: number | undefined; controlType: ControlType; items: ControlItemOrg[]; btnPrimaryAdditionalAtm?: BtnPrimaryAdditionalAtm | undefined; } export declare const ControlsContainerOrg: 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 {};