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) => void; } declare const withMargin: >(superClass: T, options?: { "margin-top"?: number; "margin-bottom"?: number; "margin-left"?: number; "margin-right"?: number; "margin-color"?: string | null; }) => Constructor & T; export default withMargin; //# sourceMappingURL=index.d.ts.map