import { EventEmitter } from "../../../stencil-public-runtime";
import { FileUploadState } from "../types";
export declare class FileItem {
    #private;
    /** File state containing upload information */
    readonly file: FileUploadState;
    /** Whether the file name can be edited */
    readonly editable: boolean;
    /** Component locale strings */
    readonly componentLocale?: any;
    /** Callback when a file is deleted */
    readonly fileDeletedCallback?: (fileId: string) => Promise<void>;
    /** Callback when a file deletion error occurs */
    readonly fileDeletionErrorCallback?: (data: {
        fileName: string;
        error: string;
    }) => Promise<void>;
    /** Updates current name when file prop changes */
    handleFileChange(newFile: FileUploadState): void;
    isEditing: boolean;
    currentName: string;
    /** Emitted when the file name is changed */
    fileNameChange: EventEmitter<{
        id: string;
        name: string;
    }>;
    /** Emitted when the file is deleted */
    fileDelete: EventEmitter<string>;
    /** Emitted when the file upload is cancelled */
    fileCancel: EventEmitter<string>;
    componentWillLoad(): void;
    render(): any;
}
