import { CleanerOptions, AnyObject, FileFormat, ParserOptions } from './types';
import { parseYAML, parseCSV, stringifyYAML, stringifyCSV } from './parsers';

export declare function cleanObject<T extends AnyObject>(obj: T, customCleaner?: CleanerOptions['customCleaner'], keepFields?: string[], options?: CleanerOptions): T;
export declare function parseContent(content: string, format: FileFormat, options?: ParserOptions): AnyObject | AnyObject[];
export declare function stringifyContent(data: AnyObject | AnyObject[], format: FileFormat, options?: ParserOptions): string;
export { parseYAML, parseCSV, stringifyYAML, stringifyCSV };
export default cleanObject;
