import type { LabelProps } from '@gravity-ui/uikit'; import type { TenantDiagnosticsTab } from '../../../store/reducers/tenant/types'; import { EPathSubType, EPathType } from '../../../types/api/schema'; import type { ETenantType } from '../../../types/api/tenant'; import type { TenantQuery } from '../TenantPages'; interface Badge { text: string; theme?: LabelProps['theme']; size?: LabelProps['size']; } export type Page = { id: TenantDiagnosticsTab; title: string; badge?: Badge; }; export type DatabasePagesDisplay = 'all' | 'database' | 'diagnostics'; interface GetPagesOptions { hasTopicData?: boolean; isDatabase?: boolean; hasStorageUsage?: boolean; hasBackups?: boolean; hasConfigs?: boolean; hasAccess?: boolean; hasMonitoring?: boolean; databaseType?: ETenantType; databasePagesDisplay?: DatabasePagesDisplay; } export declare const getPagesByType: (type?: EPathType, subType?: EPathSubType, options?: GetPagesOptions) => Page[]; export declare const useDiagnosticsPageLinkGetter: () => (tab: TenantDiagnosticsTab, params?: TenantQuery) => string; export {};