declare module "get-typed" {
  declare type _Options = {
    plugins?: Array<string>,
    _reason?: boolean,
  };

  declare var Options: _Options;

  declare type Node = {
    type: string,
    [key: string]: any,
  };

  declare type Result = {
    resolved: typeof Node,
    printed: {
      flow: string,
      typescript: string,
      reason: string,
      json: typeof Node,
    },
  };

  declare export default (entry: string, opts: typeof Options) =>  Promise<typeof Result>
}
