import type React from "react";
import { OrderbookProps } from "./index";
export type OrderbookState = {
    kind: "loading";
} | {
    kind: "error";
    title: string;
    description: string;
    onRetry?: () => void;
} | {
    kind: "resolved";
    title: string;
    description: string;
} | {
    kind: "empty";
    title: string;
    description: string;
} | {
    kind: "disabled";
    title: string;
    description: string;
    icon?: React.ReactElement;
} | {
    kind: "data";
};
export type OrderbookWithStatesProps = OrderbookProps & {
    /** Current state of the orderbook. Determines which view to render. */
    state: OrderbookState;
    /** Optional className for the wrapper div. */
    wrapperClassName?: string;
};
export declare const OrderbookWithStates: {
    ({ state, wrapperClassName, ...orderbookProps }: OrderbookWithStatesProps): JSX.Element;
    displayName: string;
};
