import type { Accessor } from "@deck.gl/core";
import type { Feature, Position } from "geojson";
import type { SizeAccessor, WellFeature } from "../types";
export declare const LINE = "line";
export declare const POINT = "point";
export declare const DEFAULT_POINT_SIZE = 8;
export declare const DEFAULT_LINE_WIDTH = 5;
/**
 * Creates an deck.gl Accessor that provides a "size" for a line or point feature (i.e. width or radius) either using an an existing accessor, or returning a default.
 * @param type The type of element to create a size for
 * @param accessor An accessor that provides a size
 * @param offset An offset applied to the resulting size. No offset is applied if the computed size is 0
 * @returns An accessor giving a size
 */
export declare function getSize(type: string, accessor: SizeAccessor | undefined, offset?: number): Accessor<Feature, number>;
/**
 * Extracts the head position of a well
 * @param well_object A GeoJson well feature
 * @returns The well's head position a
 */
export declare function getWellHeadPosition(well_object: WellFeature): Position | undefined;
