import { FrontendDescription, Fragments } from '../../types'; /** * Manages the handling of configuration. * With configurations an arrangement gets the possibility to configure an embedded fragment * and overwrite the default configuration of it. */ declare type PreviousContext = { fragments: Fragments; _plugins: { directFunctionsPlugin: { fragments: Fragments; }; }; }; declare type EnhancedContext = PreviousContext & { config: Fragments; }; /** * Get the configuration associated with a specific key * @param config - the config object to search in * @param key - the key to return a specific config */ export declare const getConfigByKey: (config: Record, key?: string) => unknown; /** * Get the config object, which is created from all 'config-' attributes of a specific element. * @param element - the element to create the config object * @returns - the created config object */ export declare function configObjectFrom(element?: Element | null): Record; export declare function extractMergedConfigFromCollageFragment(element: Element, config: Record): any; declare const _default: import("../../types").Plugin; export default _default;