import type { CollectionEssentials, SearchResult } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import { type SortingOptions } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api/sorting";
import type { ModelResult } from "../types";
export declare const getBreadcrumbMaxWidths: (collections: CollectionEssentials["effective_ancestors"], totalUnitsOfWidthAvailable: number, isPathEllipsified: boolean) => string[];
export declare const isModel: (item: SearchResult) => boolean;
export declare const getModelDescription: (item: SearchResult) => string | null;
export declare const getCollectionPathString: (collection: CollectionEssentials) => string;
export declare const isValidSortColumn: (sort_column: string) => sort_column is keyof ModelResult;
export declare const getSecondarySortColumn: (sort_column: string) => keyof ModelResult;
export declare const sortModels: (models: ModelResult[], sortingOptions: SortingOptions, localeCode?: string) => ModelResult[];
/** Find the maximum number of recently viewed models to show.
 * This is roughly proportional to the number of models the user
 * has permission to see */
export declare const getMaxRecentModelCount: (modelCount: number) => 0 | 4 | 8;
