import { type RefObject } from "react";
export type UseCenterOrderbookSpreadOptions = {
    containerRef: RefObject<HTMLDivElement | null>;
    spreadRef: RefObject<HTMLDivElement | null>;
    marketId?: string | null;
    snapshotKey?: string | number | null;
    rowCount: number;
    enabled?: boolean;
};
export type UseCenterOrderbookSpreadReturn = {
    recenter: () => void;
};
export declare const useCenterOrderbookSpread: ({ containerRef, spreadRef, marketId, snapshotKey: _snapshotKey, rowCount, enabled, }: UseCenterOrderbookSpreadOptions) => UseCenterOrderbookSpreadReturn;
