import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import Long from "long"; import { ResourceOwnerType } from "./settings.js"; export declare const protobufPackage = "zitadel.settings.v2"; export declare enum ThemeMode { THEME_MODE_UNSPECIFIED = 0, THEME_MODE_AUTO = 1, THEME_MODE_LIGHT = 2, THEME_MODE_DARK = 3, UNRECOGNIZED = -1 } export declare function themeModeFromJSON(object: any): ThemeMode; export declare function themeModeToJSON(object: ThemeMode): string; export interface BrandingSettings { /** Theme used for light mode. */ lightTheme: Theme | undefined; /** Theme used for dark mode. */ darkTheme: Theme | undefined; /** The url where the font is served. */ fontUrl: string; /** If enabled, the organization suffix will be hidden on the login form if the scope \"urn:zitadel:iam:org:domain:primary:{domainname}\" is used. */ hideLoginNameSuffix: boolean; /** If enabled, the Zitadel logo will not be displayed on the login screen. */ disableWatermark: boolean; /** * ResourceOwnerType returns if the setting is managed on the organization explicitly or * fell back on the instance settings. */ resourceOwnerType: ResourceOwnerType; /** * States which themes will be used. If auto is selected, the theme will be changed based on the users system preferences. * You can also choose to only allow dark or light theme. */ themeMode: ThemeMode; } export interface Theme { /** The hex value for primary color. */ primaryColor: string; /** The hex value for background color. */ backgroundColor: string; /** The hex value for warning color. */ warnColor: string; /** The value for font color. */ fontColor: string; /** The URL where the logo is served. */ logoUrl: string; /** The URL where the icon is served. */ iconUrl: string; } export declare const BrandingSettings: MessageFns; export declare const Theme: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : 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 {};