/******************************************************************************** * Copyright (c) 2026 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * https://www.eclipse.org/legal/epl-2.0 * * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ /** * Runs `update` inside a view transition, holding it open until React has * committed the resulting navigation. react-router wraps location updates in * `React.startTransition`, which `flushSync` cannot force, so the browser would * otherwise snapshot the new state while the old route was still mounted and the * morph would animate an element to its own position. */ export declare function startSearchViewTransition(update: () => void): ViewTransition | undefined; /** * Lets the browser snapshot the new state. Call from a component that outlives the * navigation — the field that starts the morph unmounts as part of it. */ export declare function resolveSearchViewTransition(): void; //# sourceMappingURL=search-view-transition.d.ts.map