import { ObjectTreeService } from '../../services';
import { ActionEntityService } from '../../services/action-entity/action-entity.service';
import { ObjectNodeService } from '../../services/object-node/object-node.service';
import { LocationService } from '../location/location.service';
import { ObjectNode } from './../../models/object-node.model';
import { ObjectTree } from './../../models/object-tree.model';
import { ObjectType } from './../../models/object-type.model';
import { CurrentContext } from './../../services/application.service';
import { ObjectNodeDefinitionService } from './../../services/entity-definition/object-node-definition.service';
import { InsideRestService } from './../../services/inside-rest/inside-rest.service';
import { ObjectTypeService } from './../../services/object-type.service';
import { TransientNodeService } from './../../services/transient-entity/transient-node.service';
import { UriCompleteService } from './../../services/uri-complete/uri-complete.service';
import { ContentImageService, Image } from './content-image.definition';
import { InterceptImageService } from './intercept-image.service';
import { TransientImageService } from './transient-image.service';
import { GeneratedResponse, HtmlGeneratedResponse, ZipGeneratedResponse } from '../../helper/generated-response';
import { LogService } from '../log/log.service';
import { ServerConfigService } from '../server-config/server-config.service';
export declare class ActionImageService {
    protected actionEntityService: ActionEntityService;
    private objectNodeService;
    private objectTypeService;
    private insideRestService;
    private uriCompleteService;
    private objectNodeDefinitionService;
    private transientImageService;
    private interceptImageService;
    private transientNodeService;
    private locationService;
    private objectTreeService;
    private contentImageService;
    private logService;
    private serverConfigService;
    constructor(actionEntityService: ActionEntityService, objectNodeService: ObjectNodeService, objectTypeService: ObjectTypeService, insideRestService: InsideRestService, uriCompleteService: UriCompleteService, objectNodeDefinitionService: ObjectNodeDefinitionService, transientImageService: TransientImageService, interceptImageService: InterceptImageService, transientNodeService: TransientNodeService, locationService: LocationService, objectTreeService: ObjectTreeService, contentImageService: ContentImageService, logService: LogService, serverConfigService: ServerConfigService);
    resetOrderImageGalleryNode(entity: ObjectNode, args: Object, ctx: CurrentContext): Promise<ObjectTree>;
    resetInfoImageNode(entity: ObjectNode, args: {
        position?: boolean;
        date?: boolean;
    }, ctx: CurrentContext): Promise<ObjectNode>;
    protected createImage(image: Image, parent: ObjectNode, ctx: CurrentContext, parentType?: ObjectType, title?: string): Promise<ObjectNode>;
    private downloadImages;
    downloadGalleries(galleries: ObjectTree, args: Object, ctx: CurrentContext): Promise<GeneratedResponse>;
    downloadGallery(tree: ObjectTree, args: Object, ctx: CurrentContext, response?: ZipGeneratedResponse, path?: string): Promise<GeneratedResponse>;
    downloadReferredImages(node: ObjectNode, args: {
        0?: string;
        1?: string;
        2?: string;
    }, ctx: CurrentContext, response?: ZipGeneratedResponse, path?: string): Promise<GeneratedResponse>;
    downloadContentImagesFiles(tree: ObjectTree, args: {
        0?: string;
        1?: string;
        2?: string;
    }, ctx: CurrentContext): Promise<HtmlGeneratedResponse>;
    private buildImagesTree;
    private addImageToTree;
    downloadContentImages(tree: ObjectTree, args: {
        0?: string;
        1?: string;
        2?: string;
    }, ctx: CurrentContext, response?: ZipGeneratedResponse, path?: string): Promise<GeneratedResponse>;
    loadImageGalleryNode(gallery: ObjectNode, args: Object, ctx: CurrentContext): Promise<ObjectTree>;
    configureGalleryImageGalleryReferrerNode(objectNode: ObjectNode, args: Object, ctx: CurrentContext): Promise<ObjectNode>;
    createGalleryImageGalleryReferrerNode(objectNode: ObjectNode, args: Object, ctx: CurrentContext): Promise<[ObjectTree, ObjectNode] | undefined>;
    loadImageGalleryReferrerNode(objectNode: ObjectNode, args: Object, ctx: CurrentContext): Promise<[ObjectTree, ObjectNode] | undefined>;
}
