/** The last value that wasn't null or undefined, so a modal or drawer keeps showing what it was
* about while it animates closed, after the host has already let go of it:
* `{useClosingValue(item)?.name}`. */
export declare function useClosingValue(value: T | null | undefined): T | undefined;