@langchain/langgraph
Version:
LangGraph
17 lines (16 loc) • 490 B
TypeScript
import { BaseChannel } from "./index.js";
/**
* Stores the value received in the step immediately preceding, clears after.
* @internal
*/
export declare class EphemeralValue<Value> extends BaseChannel<Value, Value, Value> {
lc_graph_name: string;
guard: boolean;
value: [Value] | [];
constructor(guard?: boolean);
fromCheckpoint(checkpoint?: Value): this;
update(values: Value[]): boolean;
get(): Value;
checkpoint(): Value;
isAvailable(): boolean;
}