01e930df8f
Ported from nerve's workflow types. Covers ThreadContext, StartStep, RoleStep, Moderator (pure router), Role (async actor), AgentFn (LLM adapter), WorkflowDefinition, and execution flow. 小橘 <xiaoju@shazhou.work>
18 lines
270 B
TypeScript
18 lines
270 B
TypeScript
declare module "xxhashjs" {
|
|
type Digest = {
|
|
toString(radix?: number): string;
|
|
};
|
|
|
|
type Hasher64 = {
|
|
update(data: Buffer): Hasher64;
|
|
digest(): Digest;
|
|
};
|
|
|
|
type XXH = {
|
|
h64(seed: number): Hasher64;
|
|
};
|
|
|
|
const XXH: XXH;
|
|
export default XXH;
|
|
}
|