import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import { PublicServiceContextMenu } from "../contextMenu.js"; import { AttentionMessage } from "../ui.js"; import { PageBodyParameterType } from "./bodyparam/bodyparam.js"; export declare const protobufPackage = "ua.gov.diia.types.ds.page"; export declare const PageListType: { readonly singleChoice: "singleChoice"; readonly link: "link"; }; export type PageListType = typeof PageListType[keyof typeof PageListType]; export declare namespace PageListType { type singleChoice = typeof PageListType.singleChoice; type link = typeof PageListType.link; } export declare function pageListTypeFromJSON(object: any): PageListType; export declare function pageListTypeToJSON(object: PageListType): string; export declare function pageListTypeToNumber(object: PageListType): number; export declare const PageBodyParameterName: { readonly banks: "banks"; }; export type PageBodyParameterName = typeof PageBodyParameterName[keyof typeof PageBodyParameterName]; export declare namespace PageBodyParameterName { type banks = typeof PageBodyParameterName.banks; } export declare function pageBodyParameterNameFromJSON(object: any): PageBodyParameterName; export declare function pageBodyParameterNameToJSON(object: PageBodyParameterName): string; export declare function pageBodyParameterNameToNumber(object: PageBodyParameterName): number; export declare const PageButtonAction: { readonly bankAccountSelection: "bankAccountSelection"; readonly vaccinationCertificate: "vaccinationCertificate"; readonly sendApplication: "sendApplication"; readonly bankAccounts: "bankAccounts"; readonly assistanceTypes: "assistanceTypes"; readonly contacts: "contacts"; }; export type PageButtonAction = typeof PageButtonAction[keyof typeof PageButtonAction]; export declare namespace PageButtonAction { type bankAccountSelection = typeof PageButtonAction.bankAccountSelection; type vaccinationCertificate = typeof PageButtonAction.vaccinationCertificate; type sendApplication = typeof PageButtonAction.sendApplication; type bankAccounts = typeof PageButtonAction.bankAccounts; type assistanceTypes = typeof PageButtonAction.assistanceTypes; type contacts = typeof PageButtonAction.contacts; } export declare function pageButtonActionFromJSON(object: any): PageButtonAction; export declare function pageButtonActionToJSON(object: PageButtonAction): string; export declare function pageButtonActionToNumber(object: PageButtonAction): number; export interface PageListItem { id: string; title: string; description?: string | undefined; icon?: string | undefined; image?: string | undefined; link?: string | undefined; } export interface PageBodyParameter { type: PageBodyParameterType; data: PageBodyParameterData | undefined; } export interface PageBodyParameterData { name: PageBodyParameterName; alt: string; resource?: string | undefined; } export interface PageList { type: PageListType; description?: string | undefined; searchable?: boolean | undefined; items: PageListItem[]; altChoiceName?: string | undefined; } export interface PageBody { text: string; parameters: PageBodyParameter[]; } export interface PageButton { action: PageButtonAction; name: string; isActive?: boolean | undefined; } export interface Page { title: string; contextMenu: PublicServiceContextMenu[]; attentionMessage: AttentionMessage | undefined; statusMessage: AttentionMessage | undefined; body: PageBody | undefined; list: PageList | undefined; button: PageButton | undefined; } export declare const PageListItem: MessageFns; export declare const PageBodyParameter: MessageFns; export declare const PageBodyParameterData: MessageFns; export declare const PageList: MessageFns; export declare const PageBody: MessageFns; export declare const PageButton: MessageFns; export declare const Page: 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 {};