import type { SourceType } from '../../../components/PipelineForm/schemas/source'; import type { SourceConfigurationData } from '../../../components/PipelineForm/PipelineForm.types'; /** * Reads a single field off the active source's configuration variant. * * Every source type has its own variant shape — `port` on the relational * drivers, `accountIdentifier` on Snowflake, `connectionString` on MongoDB — so * the field name is resolved at runtime against the one variant the type * actually uses. *Which* fields a summary card shows is decided by * `SOURCE_SUMMARY_FIELDS` in `getSourceSummaryRows`; this reader stays * deliberately dumb so per-type knowledge lives in exactly one place. * * Returns `''` for an untyped source, a missing variant, a missing field or a * non-string value, so callers can drop empty rows with a single check. */ export declare const readVariantField: (configuration: SourceConfigurationData, sourceType: SourceType | "", field: string) => string;