/// /// /// /// import { Buffer } from 'node:buffer'; import { SupportedFormat } from '../common/constants'; export declare const getPackageVersion: () => Promise; export declare const fileExists: (filename: string) => Promise; export declare const streamToBuffer: (input: NodeJS.ReadableStream) => Promise; export declare const stringifyJSON: (json: any, prettify?: boolean) => string; export declare const stringifyYAML: (json: any) => Promise; export declare const evenAndRemainder: (divisor: number, n: number) => [number, number]; export declare const outputInChunks: (buffer: string | Buffer, stream: NodeJS.WritableStream, chunkSize?: number) => void; export declare const isValidFormat: (arg: string) => arg is "dlf" | "fts" | "llf" | "ftl" | "tea" | "json" | "yaml" | "yml"; export declare const isArxFormat: (arg: SupportedFormat) => arg is "dlf" | "fts" | "llf" | "ftl" | "tea"; export declare const isDataFormat: (arg: SupportedFormat) => arg is "json" | "yaml" | "yml"; export declare const getInputStream: (filename?: string) => Promise; export declare const getOutputStream: (filename?: string) => Promise;