import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import { CalendarItemAtm } from "../atoms/calendarItemAtm.js"; import { ChipGroupOrg } from "./chipGroupOrg.js"; import { ChipGroupOrgV2 } from "./chipGroupOrgV2.js"; export declare const protobufPackage = "ua.gov.diia.types.ds.organisms"; export declare const LegendType: { readonly common: "common"; readonly weekend: "weekend"; readonly holiday: "holiday"; readonly initial: "initial"; }; export type LegendType = typeof LegendType[keyof typeof LegendType]; export declare namespace LegendType { type common = typeof LegendType.common; type weekend = typeof LegendType.weekend; type holiday = typeof LegendType.holiday; type initial = typeof LegendType.initial; } export declare function legendTypeFromJSON(object: any): LegendType; export declare function legendTypeToJSON(object: LegendType): string; export declare function legendTypeToNumber(object: LegendType): number; /** @see https://diia.atlassian.net/wiki/spaces/DIIA/pages/1434222595/calendarItemOrg */ export interface CalendarItemOrg { componentId: string; date: string; calendarItemAtm?: CalendarItemAtm | undefined; chipGroupOrg?: ChipGroupOrg | undefined; chipGroupOrgV2?: ChipGroupOrgV2 | undefined; legendType?: LegendType | undefined; } export declare const CalendarItemOrg: 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 {};