import React from "react";
import "./styles/ResultCachingForm.scss";
import { IDataSourceCacheStrategy } from "@gooddata/sdk-backend-tiger";
interface ResultCachingFormProps {
    /**
     * Whether or not the direct query is enabled.
     */
    isDirectQueryEnabled: boolean | undefined;
    /**
     * The current value of the cache strategy as selected in the form.
     */
    cacheStrategy: IDataSourceCacheStrategy;
    /**
     * Callback to be called when the cache strategy is changed.
     */
    onChange: (newCacheStrategy: IDataSourceCacheStrategy) => void;
    /**
     * The id of the data source being edited. Should be undefined when creating a new data source.
     */
    dataSourceId: string | undefined;
    /**
     * The persisted cache strategy of the data source being edited. Can be undefined when creating a new data source.
     */
    persistedCacheStrategy: IDataSourceCacheStrategy | undefined;
}
declare const ResultCachingForm: React.FC<ResultCachingFormProps>;
export default ResultCachingForm;
