import powerbi from "powerbi-visuals-api";
import DataViewValueColumnGroup = powerbi.DataViewValueColumnGroup;
import DataViewCategoryColumn = powerbi.DataViewCategoryColumn;
import DataViewMetadataColumn = powerbi.DataViewMetadataColumn;
import DataView = powerbi.DataView;
import DataViewValueColumn = powerbi.DataViewValueColumn;
export declare function getMeasureIndexOfRole(grouped: DataViewValueColumnGroup[], roleName: string): number;
export declare function getCategoryIndexOfRole(categories: DataViewCategoryColumn[], roleName: string): number;
export declare function hasRole(column: DataViewMetadataColumn, name: string): boolean;
export declare function hasRoleInDataView(dataView: DataView, name: string): boolean;
export declare function hasRoleInValueColumn(valueColumn: DataViewValueColumn, name: string): boolean;
