import React from 'react';
import type { FileOrImageField, WidgetControlProps } from '@staticcms/lite';
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/lite").ObjectValue>>;
export default withFileControl;
