import { ReactNode } from 'react'; import { StateLabels } from './labels'; export interface StateProps { skeleton: ReactNode; children: ReactNode; /** Override the empty-state predicate. Receives `rawData` (pre-pipeline). */ isEmpty?: (rawData: unknown) => boolean; /** Render an alternative error UI. When omitted, the default ErrorView is used. */ fallback?: (error: Error) => ReactNode; labels?: Partial; } /** * Priority chain: loading → error → empty → content. Both consumer-supplied * errors (set via Provider's `error` prop) and transform-throw errors (set by * the pipeline middleware) flow through the same `error` field. Render-time * errors thrown by `children` are caught by the inlined error boundary and * routed through the same path. */ export declare function State({ skeleton, children, isEmpty, fallback, labels, }: StateProps): import("react/jsx-runtime").JSX.Element;