import { YamlFields, YamlRelationships } from '../../../types'; /** * Converts any slugs present in the DEPENDS_ON array into component ARIs, ignoring any entries that did * not have a corresponding ARI returned from the lookup. * * If the feature flag is NOT enabled, dependenciesBySlugs will be empty and all slugs will be removed. * * @param relationships - The relationships from the YAML config. * @param dependenciesBySlugs - Map of slugs to ARI based on lookup. * @returns Merged relationships DEPENDS_ON containing ARIs instead of slugs. */ export declare const convertRelationshipSlugs: (relationships: YamlRelationships, dependenciesBySlugs: Record) => YamlRelationships; /** * Transforms relationships from a YAML config to the format expected by the API. * * @param relationships - The relationships from the YAML config. * @param dependenciesBySlugs - Map of slugs to ARI based on lookup. * @returns The transformed relationships used to update a component. */ export declare function transformRelationshipsFromYamlConfig(relationships: YamlRelationships, dependenciesBySlugs: Record): any[]; export declare function transformFieldsFromYamlConfig(fields: YamlFields): Record>;