import { FooterTypes, LayoutOptions, SidebarLink } from './cbj-layout.models'; import { Subject } from 'rxjs/Subject'; import { ScrollbarConfig, ScrollbarOptions } from '../scroll/index'; import { RippleConfig } from '../ripple/index'; /** * @class LayoutConfig * */ export declare class LayoutConfig { /** * The scrollbars options. * A deep merge of the default options and the user provided options */ private options; /** * Configuration object for the side scrollbar */ private _sideScrollConfig; /** * Configuration object for the main scrollbar */ private _mainScrollConfig; /** * @constructor * @param {LayoutOptions} opt */ constructor(opt: LayoutOptions); /** * Merge the defaults and options by performing a deep merge * * @param {LayoutOptions} opt * @param {boolean} setOpt * * @return {LayoutOptions} */ mergeOptions(opt: LayoutOptions, setOpt?: boolean): LayoutOptions; /** * * @returns {boolean | undefined} */ readonly useSidebar: boolean; /** * * @returns {RippleConfig | undefined} */ readonly rippleConf: RippleConfig; /** * * @returns {boolean | undefined} */ readonly closeOnClick: boolean; /** * * @returns {FooterTypes} */ readonly footerType: FooterTypes; /** * * @returns {string | undefined} */ readonly footerClasses: string; /** * * @returns {SidebarLink[] | undefined} */ readonly sidebarLinks: SidebarLink[]; /** * * @returns {Subject | undefined} */ readonly toggleClasses: Subject<{ el: string; classes: string; remove: boolean; }>; /** * * @returns {string | undefined} */ readonly headingClass: string; /** * * @returns {string | undefined} */ readonly linkClass: string; /** * * @returns {string | undefined} */ readonly dropdownClass: string; /** * * @returns {string | undefined} */ readonly activeClass: string; /** * * @returns {string | undefined} */ readonly navbarClasses: string; /** * * @returns {ScrollbarOptions | undefined} */ readonly sideScrollbarOptions: ScrollbarOptions; /** * * @returns {ScrollbarOptions | undefined} */ readonly mainScrollbarOptions: ScrollbarOptions; /** * * @returns {ScrollbarConfig} */ /** * * @param {ScrollbarConfig} value */ sideScrollConfig: ScrollbarConfig; /** * * @returns {ScrollbarConfig} */ /** * * @param {ScrollbarConfig} value */ mainScrollConfig: ScrollbarConfig; }