import React from 'react'; import type { openEventPanelType } from '../hooks/useEvent'; import type { SaveFunctionType } from '../interface'; import './index.less'; interface HeaderProps { extraTools?: any; rightTools?: any; extraTabs?: any[]; headerTabKey?: string; setHeaderTabKay?: (key: string) => void; openEventPanel: openEventPanelType; onSave?: SaveFunctionType; openLayoutHistory?: () => void; goBack?: () => void; showGoBack?: boolean; header?: React.ReactNode; headerLeft?: React.ReactNode; openVersionHistory?: () => void; tips?: string[]; position: 'top' | 'left'; onPriview?: SaveFunctionType; onPreview?: (url: string) => false | string | PromiseLike | void; showPreview?: boolean; setPageViewKey: () => void; isDSLChange?: boolean; openCustomPanel: any; renderExtTitle?: any; currentEditStatus?: boolean; eventVisible?: boolean; } declare const Header: React.ForwardRefExoticComponent>; export default Header;