import HGCommandServer from "./HGCommandServer"; import HGRepo from "./HGRepo"; import Parsers from "./Parsers"; declare let api: HGAPI; /** * The public facing API of the node-hg module exposes convenience * methods for various common Mercurial tasks. */ declare class HGAPI { HGCommandServer: typeof HGCommandServer; HGRepo: typeof HGRepo; Parsers: typeof Parsers; constructor(); init: (initPath: string, opts: any, done: Function) => void; clone: (from: string, to: string, opts: any, done: Function) => void; add: (path: string, opts: any, done: Function) => void; commit: (path: string, opts: any, done: Function) => void; summary: (path: string, opts: any, done: Function) => void; log: (path: string, opts: any, done: Function) => void; version: (done: Function) => void; makeParser: (done: any) => void; } export = api;