import { EnvironmentSyncCallback } from "../types/form.js"; import { UnifiedEnvironment } from "../types/environment.js"; //#region src/components/shared/utils/createEnvironmentReceiver.d.ts /** * Create an environment receiver for the receiving side * * This helper function creates a simple receiver that can be used * to store and retrieve environment references provided by the framework. * It returns an object with the callback to pass to the framework * and a function to get the current environment. * * @returns An object with: * - environmentSyncCallback: The callback to pass to the framework config * - environmentSync: Function to get the current stored environment */ declare function createEnvironmentReceiver(): { environmentSync: () => UnifiedEnvironment | null; environmentSyncCallback: EnvironmentSyncCallback; }; //#endregion export { createEnvironmentReceiver }; //# sourceMappingURL=createEnvironmentReceiver.d.ts.map