import * as PReact from "./preact-shim.ts";
import { IconProps } from "./icon.tsx";
export interface AnnotationsProps {
    x: number;
    y: number;
    annotationIDs: string[];
    stepSize?: number;
}
export declare const Annotations: PReact.FunctionComponent<AnnotationsProps>;
export interface VertexProps {
    id: string | number;
    origData?: any;
    centroid?: boolean;
    categoryID?: string;
    text: string;
    textHeight?: number;
    textPadding?: number;
    icon?: IconProps;
    annotationsHeight?: number;
    annotationIDs?: string[];
    textFill?: string;
    textboxFill?: string;
    textboxStroke?: string;
    textFontFamily?: string;
    onSizeUpdate?: (size: {
        width: number;
        height: number;
    }) => void;
    showLabel?: boolean;
    scale?: number;
}
export declare const Vertex: React.FunctionComponent<VertexProps>;
