import { NewBBoxClass } from '../../NewBBox'; declare const anchorCode: { 'top-left': number; top: number; 'top-right': number; left: number; middle: number; right: number; 'bottom-left': number; bottom: number; 'bottom-right': number; }; export declare const Output: readonly ["x", "y", "opacity", "align", "baseline"]; export declare const Anchors: readonly ["top-left", "left", "bottom-left", "top", "bottom", "top-right", "right", "bottom-right"]; export default function labelLayout({ texts, size, compare, offset, anchor, avoidElements, avoidRefElements, padding, }: { texts: { label: NewBBoxClass; ref: SVGElement; }[]; size: [number, number]; compare: ((a: any, b: any) => number) | undefined; offset: number[]; anchor: readonly (keyof typeof anchorCode)[]; avoidElements: SVGElement[]; avoidRefElements: boolean; padding: number; }): { label: NewBBoxClass; ref: SVGElement; }[] | { datum: NewBBoxClass; opacity: number; boundary: number[]; }[]; export {}; //# sourceMappingURL=LabelLayout.d.ts.map