export interface ParsedFile {
    [key: string]: unknown;
}
export declare class FileHandler {
    #private;
    constructor(delimiter?: string | undefined);
    handleBuffer(file: string, content: Buffer, optionalHeaders: Array<string>, optionalSettings?: {
        [key: string]: unknown;
    }): Promise<ParsedFile | undefined>;
    handle(file: string, content: string, optionalHeaders: Array<string>): Promise<ParsedFile | undefined>;
    parseXML(content: string, optionalHeaders: Array<string>): Promise<ParsedFile>;
    parseCSV(content: Buffer, optionalSettings?: {
        [key: string]: unknown;
    }): Promise<ParsedFile>;
    private xmlOptions;
    private csvOptions;
    stringify(destination: string): string;
    static getPath(file: string): string;
    static getFileName(file: string): string;
    static getExtension(file: string): string;
}
