/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ /** * Asserts that the current stack frame is not within a reactive context. Useful * to disallow certain code from running inside a reactive context (see {@link /api/core/rxjs-interop/toSignal toSignal}) * * @param debugFn a reference to the function making the assertion (used for the error message). * @see [Asserts the reactive context](guide/signals#asserts-the-reactive-context) * * @publicApi */ export declare function assertNotInReactiveContext(debugFn: Function, extraContext?: string): void;