UNPKG

testplane

Version:

Tests framework based on mocha and wdio

11 lines (10 loc) 559 B
import { type SelectivityCompressionType } from "./types"; /** * @param jsonBasePath json path without compression suffix * @param preferredCompressionType * @returns decompressed and parsed JSON */ export declare const readJsonWithCompression: <T>(jsonBasePath: string, preferredCompressionType: SelectivityCompressionType, opts?: { defaultValue?: T | undefined; } | undefined) => Promise<T>; export declare const writeJsonWithCompression: (jsonBasePath: string, data: unknown, preferredCompressionType: SelectivityCompressionType) => Promise<void>;