import { Methods } from 'penpal/lib/types'; import { FrontendDescription, Functions } from '../../types'; export declare function initiateData(data: { description: FrontendDescription; context: unknown; }): { description: FrontendDescription; context: unknown; }; /** * Extracts the important information from a context, needed by a fragment from its arrangement * * @params data - */ export declare function extractAsArrangement(data: { description: FrontendDescription; context: unknown; }): Methods; /** * Extracts the functions from a penpal parent, needed by a fragment from its arrangement */ export declare function extractArrangementFromPenpalParent(data: FrontendDescription): { services?: import("../../types").Services | undefined; functions?: Functions | undefined; fragmentsConfig?: Record | undefined; }; /** * Extracts important information from a context, needed by an arrangement from its fragment */ export declare function extractAsFragment(data: { description: FrontendDescription; context: { functions: Functions; }; callback: CallableFunction; }): Methods; /** * Extracts the functions from a penpal child, needed by an arrangement from its fragment * * @params frameId - id of the fragment * @params functions - child functions */ export declare function extractFragmentDescriptionFromPenpalChild(data: { frameId: string; functions: Functions; }): unknown;