import { Signal } from "../signals/signal.js"; export declare function maybe(x: X, fn: (x: X) => R): R | undefined; export declare function whereby(x: X | undefined | null | Signal, fn: (x: X) => R): R | undefined; /** @deprecated renamed to `whereby` */ export declare const wherefor: typeof whereby;