import { Segment } from "./types"; /** * Helper for adding segment to or updating last segment in array of segments * @param newSegment segment to add or replace * @param priorSegments array of all previous segments * @returns updated array of segments with new segment added or last segment updated (per options) */ export declare const addSegment: (newSegment: Segment, priorSegments: Array) => Array;