import type { SimpleSavedObject } from 'kibana/public' ; import type { FieldFormatsRegistry } from '../../../../../src/plugins/field_formats/common' ; export type IndexPatternTitle = string ; export interface Route { id : string ; k7Breadcrumbs : ( ) => any ; } export type SavedSearchSavedObject = SimpleSavedObject < any > ; export function isSavedSearchSavedObject ( ss ) { return ss !== null ; } export type FieldFormatsRegistryProvider = ( ) => Promise < FieldFormatsRegistry > ;