export default function init(origin: string, path?: string): Promise;