import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; export declare const protobufPackage = "ua.gov.diia.types.profilefeatures"; export declare const DiiaOfficeStatus: { readonly ACTIVE: "ACTIVE"; readonly SUSPENDED: "SUSPENDED"; readonly DISMISSED: "DISMISSED"; }; export type DiiaOfficeStatus = typeof DiiaOfficeStatus[keyof typeof DiiaOfficeStatus]; export declare namespace DiiaOfficeStatus { type ACTIVE = typeof DiiaOfficeStatus.ACTIVE; type SUSPENDED = typeof DiiaOfficeStatus.SUSPENDED; type DISMISSED = typeof DiiaOfficeStatus.DISMISSED; } export declare function diiaOfficeStatusFromJSON(object: any): DiiaOfficeStatus; export declare function diiaOfficeStatusToJSON(object: DiiaOfficeStatus): string; export declare function diiaOfficeStatusToNumber(object: DiiaOfficeStatus): number; export declare const ProfileFeature: { readonly office: "office"; readonly student: "student"; readonly documents: "documents"; readonly veteran: "veteran"; }; export type ProfileFeature = typeof ProfileFeature[keyof typeof ProfileFeature]; export declare namespace ProfileFeature { type office = typeof ProfileFeature.office; type student = typeof ProfileFeature.student; type documents = typeof ProfileFeature.documents; type veteran = typeof ProfileFeature.veteran; } export declare function profileFeatureFromJSON(object: any): ProfileFeature; export declare function profileFeatureToJSON(object: ProfileFeature): string; export declare function profileFeatureToNumber(object: ProfileFeature): number; export interface DiiaOfficeProfileData { officeIdentifier: string; profileId: string; organizationId: string; unitId: string; isOrganizationAdmin: boolean; scopes: string[]; status: DiiaOfficeStatus; tokenError?: string | undefined; tokenFailedAt: Date | undefined; googleWorkspace?: string | undefined; } export interface DocumentsProfileData { proposal: DocumentsProfileDataProposal | undefined; } export interface DocumentsProfileDataProposal { /** DocumentsProfileFeatureProposalStatus enum from user-service-client */ status: string; } export interface VeteranProfileData { } export interface UserFeatures { office?: DiiaOfficeProfileData | undefined; documents?: DocumentsProfileData | undefined; veteran?: VeteranProfileData | undefined; } export declare const DiiaOfficeProfileData: MessageFns; export declare const DocumentsProfileData: MessageFns; export declare const DocumentsProfileDataProposal: MessageFns; export declare const VeteranProfileData: MessageFns; export declare const UserFeatures: 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 {};