import type { ServedInvocationOutcome } from "../runtime/invocationUsage.js"; /** A returned outcome carrying a fixed usage snapshot and trace id (override * `usage`/`traceId` when a test asserts specific figures or identity). */ export declare function returnedOutcome(value: T, overrides?: Partial, "usage" | "traceId">>): ServedInvocationOutcome; /** A threw outcome carrying the identical error. */ export declare function threwOutcome(error: unknown, overrides?: Partial, "usage" | "traceId">>): ServedInvocationOutcome; /** The PUBLIC raw `invoke` member on an ExportedFunction/Node. Adapter tests * drive the served path (`invokeServed`), never the public `invoke`, so a fake * can spread this stub to satisfy the type; calling it is a test bug. */ export declare const unusedPublicInvoke: { invoke: (...args: any[]) => Promise; };