/**
 * Flowtype definitions for withAnnotatorContext.tsx
 * Generated by Flowgen from a Typescript Definition
 * Flowgen v1.10.0
 */

import * as React from "react";
import AnnotatorContext from "./AnnotatorContext";
import { AnnotatorState, GetMatchPath } from "./types";
export interface WithAnnotatorContextProps {
  annotatorState?: AnnotatorState;
  emitAnnotatorActiveChangeEvent?: (id: string) => void;
  emitRemoveEvent?: (id: string) => void;
  getAnnotationsMatchPath?: GetMatchPath;
  getAnnotationsPath?: (
    fileVersionId?: string,
    annotationId?: string
  ) => string;
}
declare export default function withAnnotatorContext<P: { ... }>(
  WrappedComponent: React.ComponentType<P>
): void;
