@promptbook/remote-client
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
13 lines (12 loc) • 559 B
TypeScript
import type { WithTake } from './interfaces/ITakeChain';
import type { Takeable } from './interfaces/Takeable';
/**
* A function that takes an initial value and returns a proxy object with chainable methods.
*
* @param {*} initialValue - The initial value.
* @returns {Proxy<WithTake<TValue>>} - A proxy object with a `take` method.
*
* @private util of `@promptbook/color`
* @deprecated [🤡] Use some better functional library instead of `TakeChain`
*/
export declare function take<TValue extends Takeable>(initialValue: TValue): WithTake<TValue>;