import { type SelectivityCompressionType } from "./types";
export declare const stripCompressionSuffix: (filePath: string) => string;
export declare const getExistingJsonPathWithCompression: (jsonBasePath: string, preferredCompressionType: SelectivityCompressionType) => {
    jsonPath: string | null;
    compressionType: SelectivityCompressionType;
};
/**
 * @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>;
