import { type ComponentType } from "react";
import type { WithRouterProps } from "react-router";
import type { DashboardId } from "../../../../metabase-types/api";
/** @deprecated - prefer `usePublicDashboardEndpoints`*/
export declare const WithPublicDashboardEndpoints: <T extends WithRouterProps<import("react-router/lib/Router").Params, any>>(Component: ComponentType<T>) => ComponentType<T & {
    dashboardId: DashboardId;
}>;
export declare const usePublicDashboardEndpoints: (props: WithRouterProps) => {
    dashboardId: string;
};
