import { color, xy } from '@synnaxlabs/x';
import { BaseEdgeProps } from '@xyflow/react';
import { FC, ReactElement } from 'react';
import { z } from 'zod';
import { Select } from '../../select';
export declare const offsetPath: (path: xy.XY[], miters: xy.XY[]) => xy.XY[];
interface PathProps extends Omit<BaseEdgeProps, "path" | "color" | "points"> {
    points: xy.XY[];
    color?: color.Crude;
}
export declare const calcPath: (coords: xy.XY[]) => string;
export declare const edgeTypeZ: z.ZodEnum<{
    pipe: "pipe";
    data: "data";
    secondary: "secondary";
    electric: "electric";
    jacketed: "jacketed";
    hydraulic: "hydraulic";
    pneumatic: "pneumatic";
}>;
export type EdgeType = z.infer<typeof edgeTypeZ>;
export declare const PATHS: Record<EdgeType, FC<PathProps>>;
export declare const DefaultPath: ({ points, color: pathColor, ...rest }: PathProps) => ReactElement;
export interface SelectEdgeTypeProps extends Omit<Select.StaticProps<EdgeType>, "data" | "resourceName"> {
}
export declare const SelectEdgeType: (props: SelectEdgeTypeProps) => ReactElement;
export {};
//# sourceMappingURL=paths.d.ts.map