import * as i0 from '@angular/core'; import { InjectionToken, RendererFactory2 } from '@angular/core'; declare class DsSidebarService { private _isLocked; readonly isLocked: i0.Signal; constructor(); /** * Locks the sidebar, preventing it from opening. * If the sidebar is currently open, it should be closed by the component listening to this state. */ lock(): void; /** * Unlocks the sidebar, allowing normal open/close behavior. */ unlock(): void; /** * Sets the locked state manually. * @param value True to lock, False to unlock */ setLocked(value: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } type ClientTheme = { primary: string; }; /** * Configuration for the ThemeService. * Provide via `DS_THEME_CONFIG` token in your app's providers. */ interface DsThemeConfig { /** Prefix for localStorage keys (default: 'ds'). Use your app name to avoid conflicts. */ storagePrefix?: string; /** Default primary color hex (e.g. '#265cd1'). If not set, uses the theme's default. */ defaultPrimaryColor?: string; } /** Injection token to configure ThemeService per-app */ declare const DS_THEME_CONFIG: InjectionToken; declare class ThemeService { private document; private rendererFactory; private renderer; private readonly STORAGE_KEY; private readonly DARK_MODE_STORAGE_KEY; private readonly defaultPrimaryColor; isDarkMode: i0.WritableSignal; constructor(document: Document, rendererFactory: RendererFactory2, config?: DsThemeConfig); /** * Ensures the Syncfusion theme CSS link exists and is at the END of . * Angular injects its compiled styles.css (Bootstrap) after existing tags, * so the sf-theme link must come AFTER to win in the CSS cascade. * Also handles HMR scenarios where the link may be missing. */ private ensureThemeLinkOrder; toggleDarkMode(): void; private applyDarkMode; /** * Restores the previously saved primary color from localStorage. * Falls back to `defaultPrimaryColor` from config if nothing is saved. */ private loadSavedTheme; /** * Removes the saved primary color from localStorage. */ clearSavedTheme(): void; /** * Set the primary color and update ALL Bootstrap 5.3 + Syncfusion selectors at runtime. */ setPrimaryColor(color: string): void; private injectStyleOverrides; private hexToRgb; private rgbToHex; /** Mix two colors. weight = percentage of color1. */ private mixColor; /** Bootstrap tint: mix with white. */ private tintColor; /** Bootstrap shade: mix with black. */ private shadeColor; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * Configuration for the DsLocaleService. * Provide via `DS_LOCALE_CONFIG` token in your app's providers. */ interface DsLocaleConfig { /** The culture code to use (e.g. 'pt-BR'). If not set, 'pt-BR' is used as default. */ locale?: string; /** Custom translations to load. If provided, they will be merged with the library defaults. */ customTranslations?: any; } /** Injection token to configure DsLocaleService per-app */ declare const DS_LOCALE_CONFIG: InjectionToken; declare class DsLocaleService { private currentLocale; constructor(config?: DsLocaleConfig); /** * Initializes the Syncfusion locale settings. */ private initialize; /** * Dynamically changes the culture. * Note: Some Syncfusion components might need a refresh to apply the new culture. */ setLocale(locale: string): void; /** Returns the current active locale */ getLocale(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface ToastMessageModel { title?: string; content: string; cssClass?: string; icon?: string; } declare class DsToastService { readonly toastState: i0.WritableSignal; show(message: ToastMessageModel): void; success(content: string, title?: string): void; error(content: string, title?: string): void; warning(content: string, title?: string): void; info(content: string, title?: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { DS_LOCALE_CONFIG, DS_THEME_CONFIG, DsLocaleService, DsSidebarService, DsToastService, ThemeService }; export type { ClientTheme, DsLocaleConfig, DsThemeConfig, ToastMessageModel };