import { ClassDump , ResourceDump , EnvironmentTreeDump } from "./objects" ; export interface IpcAPI { addProject ( path ) : Promise < boolean > ; openProject ( path , offline ) : Promise < void > ; createProject ( ) : Promise < void > ; getProjectList ( ) : Promise < any > ; getEnvironmentList ( ) : Promise < string [ ] > ; getEnvironmentTree ( name ) : Promise < EnvironmentTreeDump > ; findFile ( localPath ) : Promise < any > ; acquireNodeClass ( environment , certname , className ) : Promise < ClassDump > ; hasNodeClassProperty ( environment , certname , className , propertyName ) : Promise < boolean > ; setNodeClassProperty ( environment , certname , hierarchy , className , propertyName , value ) : Promise < any > ; setNodeProperty ( environment , certname , hierarchy , property , value ) : Promise < any > ; encryptNodeClassProperty ( environment , certname , hierarchy , className , propertyName ) : Promise < boolean > ; removeNodeProperty ( environment , certname , hierarchy , propertyName ) : Promise < any > ; removeNodeClassProperty ( environment , certname , hierarchy , className , propertyName ) : Promise < any > ; removeNodeClassProperties ( environment , certname , className ) : Promise < any > ; invalidateNodeClass ( environment , certname , className ) : Promise < void > ; getClassInfo ( env ) : Promise < any > ; initWorkspace ( ) : Promise < any > ; showOpenDirectoryDialog ( defaultPath ? , mode ? ) : Promise < string > ; getCurrentWorkspacePath ( ) : Promise < string > ; assignNewHieraClass ( environment , certname , includeName , hierarchy ) : Promise < string > ; managePropertyHierarchy ( environment , certname , property , _constructor ) : Promise < boolean > ; searchClasses ( environment , certname , search ) : Promise < any [ ] > ; searchDefinedTypes ( environment , certname , search ) : Promise < any [ ] > ; removeHieraClassFromNode ( environment , certname , key , hierarchy , className ) : Promise < void > ; removeHieraClasses ( environment , certname , includeName ) : Promise < Array < string > > ; acquireNodeResource ( environment , certname , definedTypeName , title ) : Promise < ResourceDump > ; setNodeResourceProperty ( environment , certname , hierarchy , key , definedTypeName , title , propertyName , value ) : Promise < boolean > ; removeNodeResourceProperty ( environment , certname , hierarchy , key , definedTypeName , title , propertyName ) : Promise < boolean > ; removeResourceFromNode ( environment , certname , key , hierarchy , definedTypeName , title ) : Promise < boolean > ; renameNodeResource ( environment , certname , key , hierarchy , definedTypeName , title , newTitle ) : Promise < boolean > ; removeResourcesFromNode ( environment , certname , key , hierarchy , definedTypeName ) : Promise < boolean > ; chooseDefinedType ( environment , certname ) : Promise < string > ; createNewResourceToNode ( environment , certname , key , hierarchy , definedTypeName , title ) : Promise < any > ; removeAllResourcesFromNode ( environment , certname , key , hierarchy ) : Promise < boolean > ; acquireNodeFacts ( environment , certname ) : Promise < any > ; invalidateNode ( environment , certname ) : Promise < void > ; isNodeClassValid ( environment , certname , className ) : Promise < boolean > ; isNodeDefinedTypeValid ( environment , certname , definedTypeName , title ) : Promise < boolean > ; removeEnvironment ( name ) : Promise < boolean > ; getGlobalModules ( ) : Promise < any > ; getEnvironmentModules ( env ) : Promise < any > ; createEnvironment ( ) : Promise < boolean > ; installModules ( ) : Promise < void > ; publishCSR ( server , certname ) : Promise < [ string , string ] > ; downloadSignedCertificate ( ) : Promise < void > ; checkAuthentication ( ) : Promise < void > ; ignoreNode ( cername ) : Promise < void > ; clearIgnoreNodeList ( ) : Promise < boolean > ; isEYamlKeysImported ( environment , certname , hierarchy ) : Promise < boolean > ; manageEYamlKeys ( environment , certname , hierarchy ) : Promise < boolean > ; }