import IFileType from './IFileType';
import IFlag from './Flags/IFlag';
import ErrorCodes from '../Error/ErrorCodes';
/**
 * Interface represents a file that can be saved to cache and loaded into applet resources.
 */
interface ISaveFile {
    /** Unique identifier for the file. This is used to reference the file in the applet. */
    uid: string;
    /** URI of the file to be saved. */
    uri: string;
    /** Type of the file, e.g. 'javascript', 'css', etc. */
    type: IFileType;
    /** HTTP headers to be sent with the request for the file. */
    headers?: {
        [key: string]: string;
    };
    /** Additional flags for appending stored files to the DOM or other operations. */
    flags?: IFlag[];
}
export default ISaveFile;
export declare const VISaveFile: {
    uid: {
        string: null;
        error: {
            code: ErrorCodes;
            message: string;
        };
    };
    uri: string;
    type: {
        string: string[];
        error: {
            code: ErrorCodes;
            message: string;
        };
    };
    headers: string;
    flags: {
        '?array': {
            object: {
                type: {
                    string: string[];
                };
                element: {
                    object: {
                        uid: string;
                    };
                };
            };
            error: {
                code: ErrorCodes;
                message: string;
            };
        };
    };
};
