import { FormbirdInjectorService } from '../injector/formbird-injector.service';
export declare class UnsavedDocumentService {
    private injector;
    ajsService: any;
    constructor(injector: FormbirdInjectorService);
    setDocument(unsavedDocumentListId: any, document: any): any;
    setTemplate(unsavedDocumentListId: any, documentId: any, template: any): any;
    removeDocumentList(unsavedDocumentListId: any): any;
    /**
     * create a new unsaved document list. The unsaved document list is a list of documents that will be saved in a single
     * operation. This allows saving of documents independently of the nav bar save button. Eg. If you open up a dialog with a
     * template with a child doc then you need to save several documents on dialog close without saving the main document loaded
     * in the form. We can't put parameters in the save function to handle special cases like whether the save is for a dialog
     * because we would have to keep adding more special cases for saving from different locations.
     */
    createUnsavedDocumentList(name: any, existingUnsavedDocumentListId?: any): any;
    setHierarchyInfoToUnsavedList(hierarchyInfo: any, unsavedDocumentListId: any): void;
}
