UNPKG

573 BTypeScriptView Raw
1import { Slot } from "@wry/context";
2import { AnyEntry } from "./entry.js";
3export declare const parentEntrySlot: {
4 readonly id: string;
5 hasValue(): boolean;
6 getValue(): AnyEntry | undefined;
7 withValue<TResult, TArgs extends any[], TThis = any>(value: AnyEntry | undefined, callback: (this: TThis, ...args: TArgs) => TResult, args?: TArgs | undefined, thisArg?: TThis | undefined): TResult;
8};
9export declare function nonReactive<R>(fn: () => R): R;
10export { Slot };
11export { bind as bindContext, noContext, setTimeout, asyncFromGen, } from "@wry/context";
12
\No newline at end of file