import { type LabelableDataSource } from '../../shared/utils/data-sources-utils.js'; /** * Returns a resolver of the user-visible label of a data source: its display name, else its title. * * Display names are cached per app for a minute and refetched when a consumer mounts after that, * so a rename shows up the next time a consumer opens. Until they load, or when they are * unavailable, the resolver returns the data source `title`. * * @returns Function resolving a data source to its label. * @internal */ export declare const useDataSourceLabelResolver: () => (dataSource: LabelableDataSource) => string;