export declare function createXJson(dirname: string, pattern: string, provider: string, write?: boolean): Promise;