import { FrontMatter, Page, RemotePage, RemotePageKey } from "./support/types";
import commander from "commander";
declare const register: (program: commander.Command) => void;
export default register;
export declare const pageVersionQuery: (id: string, tag: string) => string;
export declare function getParentPath(page: RemotePageKey, pages: RemotePage[]): string;
export declare function mapPage(item: RemotePage, items: RemotePage[], downloadImages?: string, cont?: boolean): Promise<Page & {
    metadata: FrontMatter;
    file_path: string;
}>;
export declare function writePage(page: Page): string;
