import { Selection } from "d3";
import NightingaleBaseElement, { Constructor } from "../../nightingale-base-element";
import { WithDimensionsInterface } from "../withDimensions";
export interface withMarginInterface extends NightingaleBaseElement, WithDimensionsInterface {
    "margin-top": number;
    "margin-bottom": number;
    "margin-left": number;
    "margin-right": number;
    "margin-color": string;
    getWidthWithMargins: () => number;
    getHeightWithMargins: () => number;
    renderMarginOnGroup: (g?: Selection<SVGGElement, unknown, HTMLElement | SVGElement | null, unknown>) => void;
}
declare const withMargin: <T extends Constructor<NightingaleBaseElement>>(superClass: T, options?: {
    "margin-top"?: number;
    "margin-bottom"?: number;
    "margin-left"?: number;
    "margin-right"?: number;
    "margin-color"?: string | null;
}) => Constructor<withMarginInterface> & T;
export default withMargin;
//# sourceMappingURL=index.d.ts.map