import { TeamAppsEvent } from "./TeamAppsEvent";
export declare class FileUploader {
    private static LOGGER;
    readonly onProgress: TeamAppsEvent<number>;
    readonly onSuccess: TeamAppsEvent<string>;
    readonly onError: TeamAppsEvent<void>;
    readonly onComplete: TeamAppsEvent<void>;
    private xhr;
    upload(file: File, url: string, fileFormDataName?: string): void;
    abort(): void;
}
