export declare class DdaAttachFile { /** Label text shown above the field. Linked to the file input through `input_id` (or a generated id). */ label: string; /** Helper text shown below the field. Linked by `aria-describedby`. */ helper_text: string; /** Error text shown below the field. Also sets `aria-invalid="true"` on the file input. */ error_message: string; /** Size: `default` or `small`. */ size?: string; /** Validation state: `error` applies the error colors. */ validation_type?: string; /** Adds the class `dda-input-`. `disabled` gives the disabled look only; it does not disable the file input. */ input_type?: string; file: File | null; /** Extra CSS classes added to the field container. */ custom_class?: string; /** Theme override class for the field, e.g. `light-mode`. */ component_mode?: string; /** Accessible name of the file input. Not rendered when empty. */ aria_label?: string; /** Accessible name of the remove button shown after a file is chosen, e.g. `Remove file`. */ button_aria_label?: string; /** `id` of the file input. Also used to link the label, helper text and error message. Optional: an id is generated when it is not set. */ input_id: string; /** `id` of the remove button shown after a file is chosen. */ button_id: string; /** `name` of the remove button shown after a file is chosen. */ button_name?: string; /** `name` of the file input. */ input_name?: string; private fileIcons; handleFileInput(event: any): void; removeFile(): void; getFileIcon(fileName: string): any; private fileInput?; private readonly fallbackId; private get inputId(); private get helperId(); private get errorId(); private get describedBy(); render(): any; }