import { Component, ReactNode, RefObject } from 'react'; import { BryntumButton } from './BryntumButton'; import { DemoCodeEditor } from '@bryntum/gantt'; export declare type BryntumDemoHeaderProps = { children?: ReactNode | ReactNode[]; title?: string; themeCombo?: boolean; }; interface DemoCodeEditorState { hiddenEditor: boolean; } export declare class BryntumDemoHeader extends Component { static defaultProps: BryntumDemoHeaderProps; codeButtonRef: RefObject; downloadButtonRef: RefObject; isTest: boolean; demoProduct: string; downloadLink: string; appFolder: string; constructor(props: any); codeEditor?: DemoCodeEditor; getLink(): string; getTitle(): string; shouldComponentUpdate(nextProps: Readonly): boolean; toggleCodeEditor: () => Promise; componentDidMount(): Promise; render(): ReactNode; } export {};