export declare function initPiApp(appId: string, targetDir?: string): Promise;