export const PRESIGNED_URL_TRIGGER_ACTION: "generatePresignedURL"; declare const _default: import("react").ComponentType, keyof import("react-i18next").WithTranslation> & import("react-i18next").WithTranslationProps>; export default _default; export function FileWidget(props: any): import("react/jsx-runtime").JSX.Element; export namespace FileWidget { namespace propTypes { let id: PropTypes.Requireable; let isValid: PropTypes.Requireable; let errorMessage: PropTypes.Requireable; let onChange: PropTypes.Validator<(...args: any[]) => any>; let onFinish: PropTypes.Validator<(...args: any[]) => any>; let onTrigger: PropTypes.Requireable<(...args: any[]) => any>; let required: PropTypes.Requireable; let schema: PropTypes.Requireable; autoFocus: PropTypes.Requireable; description: PropTypes.Requireable; disabled: PropTypes.Requireable; placeholder: PropTypes.Requireable; readOnly: PropTypes.Requireable; required: PropTypes.Requireable; title: PropTypes.Requireable; labelProps: PropTypes.Requireable; type: PropTypes.Requireable; triggers: PropTypes.Requireable<(object | null | undefined)[]>; hint: PropTypes.Requireable; className: PropTypes.Requireable; overlayComponent: PropTypes.Validator>>; overlayPlacement: PropTypes.Requireable; }>>; }>>; let value: PropTypes.Requireable>; let valueIsUpdating: PropTypes.Requireable; } namespace defaultProps { let isValid_1: boolean; export { isValid_1 as isValid }; let schema_1: {}; export { schema_1 as schema }; } } /** * Decode the base64 file name with multi-byte character support * @param {string} filename The base64 value of the file name * @returns {string} The decoded file name */ export function base64Decode(filename: string): string; /** * Extract the file name from the value * @param {string} value The base64 value of the file. * Looks like `data:text/xml;name=test.xml;base64,PD94bWwgdmVyc2l...` * @param {Object} schema The widget schema to get triggers. * @returns {string} The file name, for example: `test.xml`. */ export function getFileName(value: string, schema: Object): string; import PropTypes from 'prop-types';