import { ControllerGeneratorOptionsWithClient } from '../../comms/controller'; import { FieldsToServerFull } from '../../models/fields/fields-to-server-full'; import { Edge } from '../../models/edge'; interface Request { body: { nodeHashIds: [string | null] | [string | null, string | null]; geometry: { type: 'LineString'; coordinates: [number, number][]; }; fields: FieldsToServerFull; mapLayer?: string; photo?: string; } | { geometry: { type: 'MultiLineString'; coordinates: [number, number][][]; }; fields: FieldsToServerFull; mapLayer?: string; photo?: string; }; } interface EffectiveLineStringBody { nodeHashIds: [string | null] | [string | null, string | null]; geometry: { type: 'LineString'; coordinates: [number, number][]; }; fields: FieldsToServerFull; mapLayer?: string; photo?: string; } interface EffectiveMultiLineStringBody { geometry: { type: 'MultiLineString'; coordinates: [number, number][][]; }; fields: FieldsToServerFull; mapLayer?: string; photo?: string; } interface EffectiveRequest { body: EffectiveLineStringBody | EffectiveMultiLineStringBody; } interface Response { hashId: string; edge: Edge; } declare const controllerGeneratorOptions: ControllerGeneratorOptionsWithClient; export { controllerGeneratorOptions, Request, EffectiveRequest, Response, EffectiveLineStringBody, EffectiveMultiLineStringBody, };