/// import { BaseTheme, EventTheme, GridTheme, LaneTheme, MouseCursorTheme, TimelineTheme, TooltipTheme, TrimmerTheme, XAxisTheme } from './model'; /** * Abstraction of a template theme which covers MUI v4 and v5 themes * without actually importing any MUI library dependencies. */ export interface TemplateTheme { palette: { primary: { main: string; }; background: { paper: string; }; text: { secondary: string; }; }; typography: { fontFamily: React.CSSProperties['fontFamily']; caption: { fontFamily?: React.CSSProperties['fontFamily']; }; }; } /** * Creates a default theme for the timeline (suitable for light backgrounds). * * @param options selective overrides of defaults. */ export declare const createTimelineTheme: (options?: TimelineThemeOptions) => TimelineTheme; /** * A convenience function to derive a timeline theme from a template theme. * Especially useful to create a timeline theme from a MUI v4 or v5 theme. * * @param type indicates whether theme will be used on a light or dark background. * @param muiLikeTemplateTheme a template abstracting over MUI v4 and v5 theme interfaces. * @param options selective overrides of defaults/template. */ export declare const deriveTimelineTheme: (type: 'light' | 'dark', muiLikeTemplateTheme: TemplateTheme, options?: TimelineThemeOptions) => TimelineTheme; export interface TimelineThemeOptions { base?: BaseThemeOptions; event?: EventThemeOptions; xAxis?: XAxisThemeOptions; grid?: GridThemeOptions; lane?: LaneThemeOptions; tooltip?: TooltipThemeOptions; trimmer?: TrimmerThemeOptions; mouseCursor?: MouseCursorThemeOptions; } type BaseThemeOptions = Partial; type EventThemeOptions = Partial; type XAxisThemeOptions = Partial; type GridThemeOptions = Partial; type LaneThemeOptions = Partial; type TooltipThemeOptions = Partial; type TrimmerThemeOptions = Partial; type MouseCursorThemeOptions = Partial; export {};