import type { PipelineStateValueV1 } from '../../../sdk/pipeline/types'; import type { TranslationKey } from '../../../i18n'; import type { SummaryCardStatus } from '../SummaryCard/SummaryCard.types'; type TranslateFn = (key: TranslationKey) => string; export interface GetSourceRuntimeStatusArgs { status: SummaryCardStatus | undefined; state: PipelineStateValueV1 | undefined; t: TranslateFn; } export interface SourceRuntimeStatus { status: SummaryCardStatus | undefined; showStateIndicator: boolean; } /** * Combines the two healthy runtime labels into one readable status. CDC * validation remains a separate diagnostic status, so the card reads as * "Active ยท Streaming" plus "CDC check failed" instead of three peer states. */ export declare const getSourceRuntimeStatus: ({ status, state, t }: GetSourceRuntimeStatusArgs) => SourceRuntimeStatus; export {};