import { type IDataSourceIdentifierDescriptor } from "@gooddata/sdk-model"; import { type DataSourcePermissionSubject, type IGrantedDataSource } from "../types.js"; export declare const useAddDataSource: (ids: string[], subjectType: DataSourcePermissionSubject, onSubmit: (dataSources: IGrantedDataSource[]) => void, onCancel: () => void) => { addedDataSources: IGrantedDataSource[]; onDelete: (workspace: IGrantedDataSource) => void; onChange: (workspace: IGrantedDataSource) => void; onSelect: ({ id, name }: IDataSourceIdentifierDescriptor) => void; onAdd: () => void; isProcessing: boolean; }; //# sourceMappingURL=useAddDataSource.d.ts.map