generate declaration files