/** * Prepares an error response payload from an error. * This is a pure function that converts an error to a serialized ExecutionResult. * * @param error - The error to prepare * @returns The serialized error response payload, or null if the error cannot be converted to a string */ export declare const prepareErrorResponse: (error: unknown) => Uint8Array | null; /** * Sends an error response through the Javy bridge. * This is used internally by the SDK as an error handler for the main() function, * catching exceptions that bubbled up to the top level. * * @param error - The error to send */ export declare const sendErrorResponse: (error: unknown) => void;