import { type ComponentType } from "react";
import { type IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
import { type ObjRef } from "@gooddata/sdk-model";
import { type GoodDataSdkError } from "@gooddata/sdk-ui";
/**
 * @alpha
 */
export interface IDashboardSettingsApplyPayload {
    disableCrossFiltering: boolean;
    disableUserFilterSave: boolean;
    disableUserFilterReset: boolean;
    disableFilterViews: boolean;
    evaluationFrequency: string | undefined;
    sectionHeadersDateDataSet: ObjRef | undefined;
}
/**
 * @alpha
 */
export interface IDashboardSettingsDialogProps {
    /**
     * Analytical backend from which the dashboard obtains data to render.
     */
    backend: IAnalyticalBackend;
    /**
     * Identifier of analytical workspace, from which the dashboard obtains data to render.
     */
    workspace: string;
    /**
     * Is dashboard setting dialog visible.
     */
    isVisible?: boolean;
    /**
     * Callback to be called when user apply dashboard settings.
     */
    onApply: (payload: IDashboardSettingsApplyPayload) => void;
    /**
     * Callback to be called, when error occurs.
     */
    onError?: (error: GoodDataSdkError) => void;
    /**
     * Callback to be called when user closes the dashboard settings dialog.
     */
    onCancel: () => void;
}
/**
 * @alpha
 */
export type CustomDashboardSettingsDialogComponent = ComponentType<IDashboardSettingsDialogProps>;
//# sourceMappingURL=types.d.ts.map