import type { Location, Query } from "history";
import type { NewDashCardOpts } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/dashboard/actions";
import type { DashboardFullscreenControls, DashboardRefreshPeriodControls, EmbedThemeControls, FetchDashboardResult } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/dashboard/types";
import type { Bookmark as IBookmark, DashboardId, DashboardTabId, Dashboard, CardId, ParameterMappingOptions } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import type { DashboardSidebarName, DashboardSidebarState } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/store";
type DashboardHeaderProps = {
    dashboardId: DashboardId;
    dashboard: Dashboard;
    dashboardBeforeEditing?: Dashboard | null;
    sidebar: DashboardSidebarState;
    location: Location;
    isAdmin: boolean;
    isDirty: boolean;
    isEditing: boolean;
    isAdditionalInfoVisible: boolean;
    isAddParameterPopoverOpen: boolean;
    canManageSubscriptions: boolean;
    addCardToDashboard: (opts: {
        dashId: DashboardId;
        cardId: CardId;
        tabId: DashboardTabId | null;
    }) => void;
    addHeadingDashCardToDashboard: (opts: NewDashCardOpts) => void;
    addMarkdownDashCardToDashboard: (opts: NewDashCardOpts) => void;
    addLinkDashCardToDashboard: (opts: NewDashCardOpts) => void;
    fetchDashboard: (opts: {
        dashId: DashboardId;
        queryParams?: Query;
        options?: {
            clearCache?: boolean;
            preserveParameters?: boolean;
        };
    }) => Promise<FetchDashboardResult>;
    setDashboardAttribute: <Key extends keyof Dashboard>(key: Key, value: Dashboard[Key]) => void;
    updateDashboardAndCards: () => void;
    addParameter: (option: ParameterMappingOptions) => void;
    showAddParameterPopover: () => void;
    hideAddParameterPopover: () => void;
    onEditingChange: (arg: Dashboard | null) => void;
    onSharingClick: () => void;
    setSidebar: (opts: {
        name: DashboardSidebarName;
    }) => void;
    closeSidebar: () => void;
} & DashboardFullscreenControls & DashboardRefreshPeriodControls & Pick<EmbedThemeControls, "isNightMode" | "onNightModeChange" | "hasNightModeToggle">;
export declare const DashboardHeader: (props: DashboardHeaderProps) => import("react/jsx-runtime").JSX.Element;
type IsBookmarkedSelectorProps = {
    bookmarks: IBookmark[];
    dashboardId: DashboardId;
};
export declare const getIsBookmarked: ({ bookmarks, dashboardId, }: IsBookmarkedSelectorProps) => boolean;
export {};
