import { EnvironmentSyncCallback } from "../types/form.js"; import { UnifiedEnvironment } from "../types/environment.js"; //#region src/components/shared/hooks/useEnvironmentSync.d.ts /** * Hook to provide environment sync functionality * * This hook is a simple mechanism to call the callback with the environment * when it's provided. It doesn't manage any state internally. * * @param currentEnvironment - The current environment to sync * @param environmentSyncCallback - Optional callback that receives the environment directly */ declare function useEnvironmentSync(currentEnvironment: UnifiedEnvironment | null, environmentSyncCallback?: EnvironmentSyncCallback): void; //#endregion export { useEnvironmentSync }; //# sourceMappingURL=useEnvironmentSync.d.ts.map