import React from 'react';
import type { FileOrImageField, WidgetControlProps } from '@staticcms/core';
import './FileImageControl.css';
export declare function getValidFileValue(value: string | string[] | null | undefined): string | string[] | null | undefined;
export interface FileControlState {
    keys: string[];
    internalValue: string | string[];
}
export interface WithFileControlProps {
    forImage?: boolean;
}
declare const withFileControl: ({ forImage }?: WithFileControlProps) => React.FC<WidgetControlProps<string | string[], FileOrImageField, import("@staticcms/core").ObjectValue>>;
export default withFileControl;
