import React from "react";
import { IDataSourceType, IDataSourceConnectionInfo } from "@gooddata/sdk-backend-tiger";
import { DataSourceComponent } from "../ConnectionForms/common/types";
import "./DataSourceTemplate.scss";
export interface IDataSourceTemplateProps {
    dataSourceId?: string;
    canDelete?: boolean;
    canManagePermissions?: boolean;
    canUseSnowflakeKeyPairAuthentication?: boolean;
    onDataSourceSaved?: (dataSourceInfo: IDataSourceConnectionInfo) => void;
    onDataSourceDeleted?: (dataSourceId: string) => void;
    onClosed?: () => void;
    isConnectDemoDataVisible?: boolean;
    isDirectQueryEnabled?: boolean;
}
export declare function withDataSourceTemplate(Component: DataSourceComponent, resetSelectedType: () => void, dataSourceType: IDataSourceType, dataSourceId?: string, isConnectDemoDataVisible?: boolean, isDirectQueryEnabled?: boolean): React.FC<IDataSourceTemplateProps>;
