eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
11 lines (10 loc) • 346 B
TypeScript
import type { SessionCallback } from "#channel/types.js";
export type SessionCallbackParseResult = {
readonly callback: SessionCallback;
readonly ok: true;
} | {
readonly cause: unknown;
readonly message: string;
readonly ok: false;
};
export declare function parseSessionCallback(value: unknown): SessionCallbackParseResult;