import { FunctionComponent, ReactNode } from 'react';
import * as DashboardLogic from '../../../../shared-logic/src/Dashboard';
import { DashboardProps } from '../../types/dashboard';
export declare type GlobalProviderType = {
    disableToolbar?: boolean;
    onDashboardUpdate?: (dashboard: DashboardLogic.Dashboard, meta: {
        hasUnsavedChanges: boolean;
    }) => void;
    isEditor?: boolean;
};
export declare const GlobalProvider: FunctionComponent<DashboardProps & {
    children?: ReactNode;
} & GlobalProviderType>;
