import { Rhodium } from "../Rhodium.mts"; export declare const Cancelled: unique symbol; export declare function cancellableCallback(callback: ((...args: [D, signal: AbortSignal]) => P) | null | undefined, /** Can only be called inside the returned callback, not synchronously */ child: Rhodium, parent: Rhodium): NoInfer<(value: D | typeof Cancelled) => P | typeof Cancelled> | null | undefined;