export declare function build(p: string, format: "json" | "text", publishPath?: string, debug?: boolean, targetPath?: string): Promise;