import { CanvasItem as PBCanvasItem } from '@vertexvis/scene-view-protos/core/protos/scene_canvas_pb';
import { GetCanvasResponse } from '@vertexvis/scene-view-protos/sceneview/protos/scene_view_api_pb';
import { Mapper as M } from '@vertexvis/utils';
import { CalloutItem, CanvasDocument, FreeformItem2d, LineItem2d, OvalItem2d, PinItem2d } from './types';
/**
 * @internal
 * @ignore
 *
 * Visible for testing.
 */
export declare const mapCanvasItem: M.Func<PBCanvasItem.AsObject, LineItem2d | OvalItem2d | FreeformItem2d | PinItem2d | CalloutItem | undefined>;
export declare const mapGetCanvasResponseOrThrow: M.ThrowIfInvalidFunc<GetCanvasResponse.AsObject, CanvasDocument>;
