import { ClientSettingsService } from '../__generated__/ClientSettingsService'; import { GetConfigurationParams } from '../__generated__/data-contracts'; export declare class PortalSettings extends ClientSettingsService { config: PortalConfiguration | null; fetchPortalSettings(query: GetConfigurationParams): Promise; } export type PortalConfiguration = { settings?: { withPortal?: boolean; allowRegistration?: boolean; allowSNS?: boolean; allowRecovery?: boolean; showTermsOfService?: boolean; customLogo?: { src: string; width?: number; height?: number; preserveText?: boolean; }; disableSubscription?: boolean; disabledComponents?: { main?: boolean; about?: boolean; help?: boolean; footer?: boolean; google?: boolean; facebook?: boolean; vk?: boolean; yandex?: boolean; }; localization?: boolean; emoji?: string[]; }; };