/** Props for {@link ErrorMessage}. */
export interface ErrorMessageProps {
    /** The error to display. Renders nothing when `null`. */
    readonly error: Error | null;
    /** Override the default title derived from the error category. */
    readonly title?: string;
    /**
     * Callback to retry the failed operation.
     * Shows a "Retry" button when provided **and** the error is retryable
     * (server or unavailable category).
     */
    readonly retry?: () => void;
    /** Additional CSS class names for the root container. */
    readonly className?: string;
}
/**
 * Inline error display that classifies errors and renders a
 * category-appropriate message with optional retry and expandable
 * technical details (RPC method and path).
 *
 * Uses `classifyError()`, `getUserMessage()`, `getRpcMetadata()`, and
 * `isRetryableError()` from `@stigmer/sdk` to provide structured,
 * user-friendly error rendering.
 *
 * All visual properties flow through `--stgm-*` design tokens. No
 * Console-specific dependencies — safe for platform builder embedding.
 *
 * @example
 * ```tsx
 * const { data, isLoading, error, refetch } = useAgent(id);
 * if (error) return <ErrorMessage error={error} retry={refetch} />;
 * ```
 */
export declare function ErrorMessage({ error, title, retry, className, }: ErrorMessageProps): import("react/jsx-runtime").JSX.Element | null;
//# sourceMappingURL=ErrorMessage.d.ts.map