import type React from "react";
import type { QueryModalType } from "../../../../query_builder/constants";
import type Question from "../../../../../metabase-lib/v1/Question";
import type { Dataset } from "../../../../../metabase-types/api";
import type { DatasetEditorTab, QueryBuilderMode } from "../../../../../metabase-types/store";
interface ViewTitleHeaderProps {
    question: Question;
    isObjectDetail: boolean;
    isAdditionalInfoVisible?: boolean;
    onOpenQuestionInfo: () => void;
    onSave: (newQuestion: Question) => any;
    isNavBarOpen: boolean;
    originalQuestion?: Question;
    isSummarized?: boolean;
    result: Dataset;
    queryBuilderMode: QueryBuilderMode;
    isBookmarked: boolean;
    toggleBookmark: () => void;
    isSaved: boolean;
    isModelOrMetric: boolean;
    isRunnable: boolean;
    isRunning: boolean;
    isNativeEditorOpen: boolean;
    isShowingSummarySidebar: boolean;
    isDirty: boolean;
    isResultDirty: boolean;
    isActionListVisible: boolean;
    runQuestionQuery: (opts?: {
        overrideWithQuestion?: Question;
        shouldUpdateUrl?: boolean;
        ignoreCache?: boolean;
    }) => void;
    cancelQuery: () => void;
    onOpenModal: (modalType: QueryModalType) => void;
    onEditSummary: () => void;
    onCloseSummary: () => void;
    setQueryBuilderMode: (mode: QueryBuilderMode, opts?: {
        shouldUpdateUrl?: boolean;
        datasetEditorTab?: DatasetEditorTab;
    }) => void;
    turnModelIntoQuestion: () => void;
    areFiltersExpanded: boolean;
    onExpandFilters: () => void;
    onCollapseFilters: () => void;
    isShowingQuestionInfoSidebar: boolean;
    onCloseQuestionInfo: () => void;
    onModelPersistenceChange: () => void;
    updateQuestion: (question: Question, opts: {
        run: boolean;
    }) => void;
    className?: string;
    style?: React.CSSProperties;
}
export declare function ViewTitleHeader({ question, isObjectDetail, isAdditionalInfoVisible, onOpenQuestionInfo, onSave, onOpenModal, isNavBarOpen, originalQuestion, result, queryBuilderMode, updateQuestion, isBookmarked, toggleBookmark, isRunnable, isRunning, isNativeEditorOpen, isShowingSummarySidebar, isDirty, isResultDirty, isActionListVisible, runQuestionQuery, cancelQuery, onEditSummary, onCloseSummary, setQueryBuilderMode, turnModelIntoQuestion, isShowingQuestionInfoSidebar, onCloseQuestionInfo, onModelPersistenceChange, className, style, }: ViewTitleHeaderProps): React.JSX.Element;
export {};
