import { DataSourceProperty, GuidValue, PropertyConfiguration, PropertyDataSourceId, PropertyDefinition } from "@omnia/fx-models";
import { DataSourcePropertyDefintionHandlerId } from "../../../services";
export interface IDataSourcePropertySelection {
    dataSourceProperty: DataSourceProperty;
    selectedConverter: DataSourcePropertyDefintionHandlerId;
    propertyConfiguration?: PropertyConfiguration<PropertyDefinition<any, any, any>>;
}
export interface IPropertyPicker {
    selectableDataSources: Array<PropertyDataSourceId>;
    onDataSourcePropertySelected: (selection: IDataSourcePropertySelection, allowEdit: boolean) => Promise<void>;
    filled?: boolean;
    disabled?: boolean;
    dark?: boolean;
    hideDetails?: boolean;
    multiple?: boolean;
    hideConfiguration?: boolean;
    selectionProperty?: IDataSourcePropertySelection;
    selectablePropertyConverters?: Array<GuidValue>;
    hideLabelIfSingleSource?: boolean;
    hideConverter?: boolean;
    keepSelectionAfterAdd?: boolean;
}
