import { ChangeDetectorRef, OnDestroy } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { SdUploadFile } from '@sd-angular/core/components/upload-file';
import { SdCustomValidator } from '@sd-angular/core/forms/models';
import { Subject } from 'rxjs';
import { SdFormGenericUpload } from '../../../../../../models';
import * as i0 from "@angular/core";
export declare class UploadComponent implements OnDestroy {
    #private;
    private readonly ref;
    setVariables: Subject<{
        key: string;
        value: any;
    }>;
    sdUploadFile?: SdUploadFile;
    form: FormGroup<{}>;
    value: any;
    entity: Record<string, any>;
    set _entity(val: Record<string, any>);
    component?: SdFormGenericUpload;
    set _component(val: SdFormGenericUpload);
    disabled: boolean;
    set _disabled(val: boolean | '' | undefined | null);
    required: boolean;
    set _required(val: boolean | '' | undefined | null);
    viewed: boolean;
    set _viewed(val: boolean | '' | undefined | null);
    validator?: SdCustomValidator;
    set _validator(validator: SdCustomValidator | undefined | null);
    constructor(ref: ChangeDetectorRef);
    ngOnDestroy(): void;
    ngOnInit(): void;
    upload: () => Promise<void | undefined>;
    static ɵfac: i0.ɵɵFactoryDeclaration<UploadComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<UploadComponent, "lib-upload", never, { "setVariables": { "alias": "setVariables"; "required": true; }; "form": { "alias": "form"; "required": false; }; "_entity": { "alias": "entity"; "required": true; }; "_component": { "alias": "component"; "required": true; }; "_disabled": { "alias": "disabled"; "required": false; }; "_required": { "alias": "required"; "required": false; }; "_viewed": { "alias": "viewed"; "required": false; }; "_validator": { "alias": "validator"; "required": false; }; }, {}, never, never, true, never>;
}
