export type StructuredErrorRecord = Record & { message?: string; stack?: string; }; /** * Check whether `value` looks like a structured error object we can render * with the error block. Some persisted workflow errors only include a * `message`, while runtime errors usually also include `stack`. */ export declare function isStructuredError(value: unknown): value is StructuredErrorRecord; /** * Narrower guard kept for callers that specifically need a stack trace. */ export declare function isStructuredErrorWithStack(value: unknown): value is StructuredErrorRecord & { stack: string; }; /** * Renders a structured error as a visually distinct error block. Shows the * error message with an alert icon at the top, separated from the stack trace * or full message below. */ export declare function ErrorStackBlock({ value }: { value: StructuredErrorRecord; }): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=error-stack-block.d.ts.map