import type { Dispatch, SetStateAction } from 'react'; interface Props { allowLineWrap: boolean; labels: string[]; targetWidth: number; onHeightChange?: Dispatch> | (() => void); align?: 'center' | 'left'; } export declare function useLabels({ allowLineWrap, align, labels, onHeightChange, targetWidth, }: Props): { lines: import("../../../types").FormattedLine[][]; containerHeight: number; }; export {}; //# sourceMappingURL=useLabels.d.ts.map