import type { Connector, ConnectorAnchor, Model, ModelItem, Rectangle, View } from './interfaces';
type IssueType = {
    type: 'INVALID_ANCHOR_TO_VIEW_ITEM_REF';
    params: {
        anchor: string;
        viewItem: string;
        view: string;
        connector: string;
    };
} | {
    type: 'INVALID_CONNECTOR_COLOR_REF';
    params: {
        connector: string;
        view: string;
        color: string;
    };
} | {
    type: 'INVALID_RECTANGLE_COLOR_REF';
    params: {
        rectangle: string;
        view: string;
        color: string;
    };
} | {
    type: 'INVALID_ANCHOR_TO_ANCHOR_REF';
    params: {
        srcAnchor: string;
        destAnchor: string;
        view: string;
        connector: string;
    };
} | {
    type: 'INVALID_VIEW_ITEM_TO_MODEL_ITEM_REF';
    params: {
        view: string;
        modelItem: string;
    };
} | {
    type: 'INVALID_ANCHOR_REF';
    params: {
        anchor: string;
        view: string;
        connector: string;
    };
} | {
    type: 'INVALID_MODEL_TO_ICON_REF';
    params: {
        modelItem: string;
        icon: string;
    };
} | {
    type: 'CONNECTOR_TOO_FEW_ANCHORS';
    params: {
        connector: string;
        view: string;
    };
};
type Issue = IssueType & {
    message: string;
};
declare const validateConnectorAnchor: (anchor: ConnectorAnchor, ctx: {
    view: View;
    connector: Connector;
    allAnchors: ConnectorAnchor[];
}) => Issue[];
declare const validateConnector: (connector: Connector, ctx: {
    view: View;
    model: Model;
    allAnchors: ConnectorAnchor[];
}) => Issue[];
declare const validateRectangle: (rectangle: Rectangle, ctx: {
    view: View;
    model: Model;
}) => Issue[];
declare const validateView: (view: View, ctx: {
    model: Model;
}) => Issue[];
declare const validateModelItem: (modelItem: ModelItem, ctx: {
    model: Model;
}) => Issue[];
declare const validateModel: (model: Model) => Issue[];
export { validateConnectorAnchor, validateConnector, validateRectangle, validateView, validateModelItem, validateModel, };
