import type { Takeable } from './Takeable'; /** * Represents any value with take chain functionality * * @deprecated [🤡] Use some better functional library instead of `TakeChain` * * @private util of `@promptbook/color` */ export type WithTake = TValue & ITakeChain; /** * Type describing take chain. */ export type ITakeChain = { readonly value: TValue; then(callback: (value: TValue) => TResultValue): WithTake; };