import React from "react";
type DataSourcePermissionsViewType = "user" | "userGroup";
export declare const useDataSourcePermissionsToggle: () => {
    type: DataSourcePermissionsViewType;
    onChange: (type: DataSourcePermissionsViewType) => void;
};
export interface IDataSourcePermissionsTypeToggleProps {
    type: DataSourcePermissionsViewType;
    onChange: (type: DataSourcePermissionsViewType) => void;
}
export declare const DataSourcePermissionsTypeToggle: ({ type, onChange, }: IDataSourcePermissionsTypeToggleProps) => React.JSX.Element;
export {};
