import type { AwsSourceSecrets, SourceData } from '../../../components/PipelineForm/PipelineForm.types'; import type { TranslationKey } from '../../../i18n'; type TranslateFn = (key: TranslationKey) => string; export interface SourceSummaryRow { label: string; value: string; } export interface GetSourceSummaryRowsArgs { source: SourceData; /** * Selected object count from `computeDatasetStats`, passed through verbatim — * the terminology differs per source type, the number does not. */ objectCount: number; /** The AWS secrets variant, when the `sourceSecrets` capability strategy is `aws`. */ awsSecrets: AwsSourceSecrets | undefined; t: TranslateFn; } /** * Resolves the ordered label/value rows for a source summary card from the * source's own type. Rows whose value is empty are dropped, so a card never * renders a label with nothing next to it; the object count row always renders * because `0` selected objects is meaningful. */ export declare const getSourceSummaryRows: ({ source, objectCount, awsSecrets, t }: GetSourceSummaryRowsArgs) => SourceSummaryRow[]; export {};